Method MatchLdflda
MatchLdflda(Instruction, out FieldReference)
Matches an instruction with opcode Ldflda.
public static bool MatchLdflda(this Instruction instr, out FieldReference value)
Parameters
instrInstruction- The instruction to try to match.
valueFieldReference- The operand value of the instruction.
Returns
MatchLdflda(Instruction, FieldReference)
Matches an instruction with opcode Ldflda.
public static bool MatchLdflda(this Instruction instr, FieldReference value)
Parameters
instrInstruction- The instruction to try to match.
valueFieldReference- The operand value required for the instruction to match.
Returns
MatchLdflda(Instruction, FieldInfo)
Matches an instruction with opcode Ldflda.
public static bool MatchLdflda(this Instruction instr, FieldInfo value)
Parameters
instrInstruction- The instruction to try to match.
valueFieldInfo- The operand value required for the instruction to match.
Returns
MatchLdflda(Instruction, Type, string)
Matches an instruction with opcode Ldflda.
public static bool MatchLdflda(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
MatchLdflda<T>(Instruction, string)
Matches an instruction with opcode Ldflda.
public static bool MatchLdflda<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.
MatchLdflda(Instruction, string, string)
Matches an instruction with opcode Ldflda.
public static bool MatchLdflda(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.