Method MatchCall
MatchCall(Instruction, out MethodReference)
Matches an instruction with opcode Call.
public static bool MatchCall(this Instruction instr, out MethodReference value)
Parameters
instrInstruction- The instruction to try to match.
valueMethodReference- The operand value of the instruction.
Returns
MatchCall(Instruction, MethodReference)
Matches an instruction with opcode Call.
public static bool MatchCall(this Instruction instr, MethodReference value)
Parameters
instrInstruction- The instruction to try to match.
valueMethodReference- The operand value required for the instruction to match.
Returns
MatchCall(Instruction, MethodBase)
Matches an instruction with opcode Call.
public static bool MatchCall(this Instruction instr, MethodBase value)
Parameters
instrInstruction- The instruction to try to match.
valueMethodBase- The operand value required for the instruction to match.
Returns
MatchCall(Instruction, Type, string)
Matches an instruction with opcode Call.
public static bool MatchCall(this Instruction instr, Type type, string name)
Parameters
instrInstruction- The instruction to try to match.
typeType- The type the operand member must be defined on for the instruction to match.
namestring- The name that the operand member must have for the instruction to match.
Returns
MatchCall<T>(Instruction, string)
Matches an instruction with opcode Call.
public static bool MatchCall<T>(this Instruction instr, string name)
Parameters
instrInstruction- The instruction to try to match.
namestring- The name that the operand member must have for the instruction to match.
Returns
Type Parameters
T- The type the operand member must be defined on for the instruction to match.
MatchCall(Instruction, string, string)
Matches an instruction with opcode Call.
public static bool MatchCall(this Instruction instr, string typeFullName, string name)
Parameters
instrInstruction- The instruction to try to match.
typeFullNamestring- The full name of the type the operand member must be defined on for the instruction to match.
namestring- The name that the operand member must have for the instruction to match.