IL2053: Invalid value used in property element in custom attribute annotations file

Cause

Value used in a property element in a custom attribute annotations file does not match the type of the attribute's property.

Example

<!-- IL2053: Invalid value 'StringValue' for property 'IntProperty' -->
<linker>
  <assembly fullname="MyAssembly">
    <type fullname="MyType">
      <attribute fullname="MyAttribute">
        <property name="IntProperty">StringValue</property>
      </attribute>
    </type>
  </assembly>
</linker>