IL2048: Internal trimmer attribute 'RemoveAttributeInstances' is being used on a member

Cause

Internal trimmer attribute RemoveAttributeInstances is being used on a member but it can only be used on a type.

Example

<!-- IL2048: Internal attribute 'RemoveAttributeInstances' can only be used on a type, but is being used on 'MyMethod' -->
<linker>
  <assembly fullname="MyAssembly">
    <type fullname="MyType">
      <method name="MyMethod">
        <attribute internal="RemoveAttributeInstances" />
      </method>
    </type>
  </assembly>
</linker>