Method MatchConstrained
MatchConstrained(Instruction, out TypeReference)
Matches an instruction with opcode Constrained.
public static bool MatchConstrained(this Instruction instr, out TypeReference value)
Parameters
instrInstruction- The instruction to try to match.
valueTypeReference- The operand value of the instruction.
Returns
MatchConstrained(Instruction, TypeReference)
Matches an instruction with opcode Constrained.
public static bool MatchConstrained(this Instruction instr, TypeReference value)
Parameters
instrInstruction- The instruction to try to match.
valueTypeReference- The operand value required for the instruction to match.
Returns
MatchConstrained(Instruction, Type)
Matches an instruction with opcode Constrained.
public static bool MatchConstrained(this Instruction instr, Type value)
Parameters
instrInstruction- The instruction to try to match.
valueType- The operand value required for the instruction to match.
Returns
MatchConstrained<T>(Instruction)
Matches an instruction with opcode Constrained.
public static bool MatchConstrained<T>(this Instruction instr)
Parameters
instrInstruction- The instruction to try to match.
Returns
Type Parameters
T- The type that must be the instruction operand for the instruction to match.
MatchConstrained(Instruction, string)
Matches an instruction with opcode Constrained.
public static bool MatchConstrained(this Instruction instr, string typeFullName)
Parameters
instrInstruction- The instruction to try to match.
typeFullNamestring- The full name of the type that must be the instruction operand for the instruction to match.