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