IL2011: Unknown body modification action
Cause
The action value passed to the body argument of a method element in a substitution file is invalid.
Rule description
Substitution files
are used to instruct the trimmer to replace specific method bodies with a throw statement or to
return constant statements.
The value passed to the body argument of a method element was invalid. The only
supported options for this argument are remove and stub.
Example
<!-- IL2011: Unknown body modification 'nonaction' for 'MyType.MyMethod()' -->
<linker>
<assembly fullname="MyAssembly">
<type fullname="MyType">
<method name="MyMethod" body="nonaction" value="NonNumber" />
</type>
</assembly>
</linker>
Tilbakemeldinger
Send inn og vis tilbakemelding for