Table of Contents

Method MatchCalli

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MatchCalli(Instruction, out IMethodSignature)

Matches an instruction with opcode Calli.
public static bool MatchCalli(this Instruction instr, out IMethodSignature value)

Parameters

instr Instruction
The instruction to try to match.
value IMethodSignature
The operand value of the instruction.

Returns

bool
true if the instruction matches; false otherwise.

MatchCalli(Instruction, IMethodSignature)

Matches an instruction with opcode Calli.
public static bool MatchCalli(this Instruction instr, IMethodSignature value)

Parameters

instr Instruction
The instruction to try to match.
value IMethodSignature
The operand value required for the instruction to match.

Returns

bool
true if the instruction matches; false otherwise.