Is there any documentation or is there a part of the cecil source code that I can consult to get a comprehensive view of which Operand types cecil will use for a given Code value? Eg: I can glean from MethodBodyRocks that Ldloc takes an Operand of type VariableDefinition, but I haven’t been able to track down this down for some of the other instruction codes.
Is there any documentation or is there a part of the cecil source code
Share
You can look at the definition of every OpCode in the OpCodes.cs file.
E.g. for Ldloc you would see OperandType.InlineVar