Table of Contents

Method MatchLdcI8

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MatchLdcI8(Instruction, out long)

Matches an instruction with opcode Ldc_I8.
public static bool MatchLdcI8(this Instruction instr, out long value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.

MatchLdcI8(Instruction, long)

Matches an instruction with opcode Ldc_I8.
public static bool MatchLdcI8(this Instruction instr, long value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.

MatchLdcI8(Instruction, ulong)

Matches an instruction with opcode Ldc_I8.
public static bool MatchLdcI8(this Instruction instr, ulong value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.