Method Match
Match(Instruction, OpCode)
Matches an instruction with the given opcode
public static bool Match(this Instruction instr, OpCode opcode)
Parameters
instrInstruction- The instruction to try to match.
opcodeOpCode- 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
instrInstruction- The instruction to try to match.
opcodeOpCode- The instruction opcode to match.
valueT- 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
instrInstruction- The instruction to try to match.
opcodeOpCode- The instruction opcode to match.
valueT- The operand value of the instruction.
Returns
Type Parameters
T