Table of Contents

Method MatchBrfalse

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MatchBrfalse(Instruction, out ILLabel)

Matches an instruction with opcode Brfalse or Brfalse_S.
public static bool MatchBrfalse(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.

MatchBrfalse(Instruction, ILLabel)

Matches an instruction with opcode Brfalse or Brfalse_S.
public static bool MatchBrfalse(this Instruction instr, ILLabel value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.

MatchBrfalse(Instruction, Instruction)

Matches an instruction with opcode Brfalse or Brfalse_S.
public static bool MatchBrfalse(this Instruction instr, Instruction value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.