Method Match
Match(Instruction, OpCode)
Matches an instruction with the given opcode
public static bool Match(this Instruction instr, OpCode opcode)
Parameters
instr
Instruction- The instruction to try to match.
opcode
OpCode- The instruction opcode to match.
Returns
Match<T>(Instruction, OpCode, T)
Matches an instruction with the given opcode
public static bool Match<T>(this Instruction instr, OpCode opcode, T value)
Parameters
instr
Instruction- The instruction to try to match.
opcode
OpCode- The instruction opcode to match.
value
T- The operand value of the instruction.
Returns
Type Parameters
T
Match<T>(Instruction, OpCode, out T)
Matches an instruction with the given opcode
public static bool Match<T>(this Instruction instr, OpCode opcode, out T value)
Parameters
instr
Instruction- The instruction to try to match.
opcode
OpCode- The instruction opcode to match.
value
T- The operand value of the instruction.
Returns
Type Parameters
T