Table of Contents

Method MatchLdloc2

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MatchLdloc2(Instruction)

Matches an instruction with opcode Ldloc_2.
public static bool MatchLdloc2(this Instruction instr)

Parameters

instr Instruction
The instruction to try to match.

Returns

bool
true if the instruction matches; false otherwise.