Method MatchUnbox
MatchUnbox(Instruction, out TypeReference)
Matches an instruction with opcode Unbox.
public static bool MatchUnbox(this Instruction instr, out TypeReference value)
Parameters
instrInstruction- The instruction to try to match.
valueTypeReference- The operand value of the instruction.
Returns
MatchUnbox(Instruction, TypeReference)
Matches an instruction with opcode Unbox.
public static bool MatchUnbox(this Instruction instr, TypeReference value)
Parameters
instrInstruction- The instruction to try to match.
valueTypeReference- The operand value required for the instruction to match.
Returns
MatchUnbox(Instruction, Type)
Matches an instruction with opcode Unbox.
public static bool MatchUnbox(this Instruction instr, Type value)
Parameters
instrInstruction- The instruction to try to match.
valueType- The operand value required for the instruction to match.
Returns
MatchUnbox<T>(Instruction)
Matches an instruction with opcode Unbox.
public static bool MatchUnbox<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.
MatchUnbox(Instruction, string)
Matches an instruction with opcode Unbox.
public static bool MatchUnbox(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.