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