Table of Contents

Method MatchLdcR4

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MatchLdcR4(Instruction, out float)

Matches an instruction with opcode Ldc_R4.
public static bool MatchLdcR4(this Instruction instr, out float value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.

MatchLdcR4(Instruction, float)

Matches an instruction with opcode Ldc_R4.
public static bool MatchLdcR4(this Instruction instr, float value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.