IL2019: Could not find the set accessor of property on type in descriptor file

Cause

A set accessor specified in a descriptor file could not be found.

Rule description

Descriptor files are used to instruct the trimmer to always keep certain items in an assembly, regardless of whether the trimmer could find any references to them.

A set accessor specified in a descriptor file could not be found in the property matching the signature argument that was passed to the property element.

Example

<!-- IL2019: Could not find the set accessor of property 'GetOnlyProperty' on type 'MyType' -->
<linker>
  <assembly fullname="MyAssembly">
    <type fullname="MyType">
      <property signature="System.Boolean GetOnlyProperty" accessors="set" />
    </type>
  </assembly>
</linker>