Summary
Describes an IL instruction in a method.
Constructors
Instruction(int startOffset, OpCode opCode, object operand) | Constructs an instance representing an IL instruction. |
Instance methods
string | | Returns a string representation of this object. |
Instance properties
OpCode | | The opcode of the instruction. |
object | | The operand. Depending on the Instruction.OpCode, this may be a FieldInfo, MethodBase, Type, byte, short, int, long, string, float, double, or null.
In the case of the switch instruction, it is an int[]. |
int | | The byte offset at which this instruction starts. |