Table of Contents

Method MatchLdcR8

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MatchLdcR8(Instruction, out double)

Matches an instruction with opcode Ldc_R8.
public static bool MatchLdcR8(this Instruction instr, out double value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.

MatchLdcR8(Instruction, double)

Matches an instruction with opcode Ldc_R8.
public static bool MatchLdcR8(this Instruction instr, double value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.