Table of Contents

Method MatchLeaveS

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MatchLeaveS(Instruction, ILLabel)

Matches an instruction with opcode Leave_S.
[Obsolete("Leftover from legacy MonoMod, use MatchLeave instead")]
public static bool MatchLeaveS(this Instruction instr, ILLabel value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.

MatchLeaveS(Instruction, out ILLabel)

Matches an instruction with opcode Leave_S.
[Obsolete("Leftover from legacy MonoMod, use MatchLeave instead")]
public static bool MatchLeaveS(this Instruction instr, out ILLabel value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.