Table of Contents

Method MatchUnaligned

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MatchUnaligned(Instruction, out byte)

Matches an instruction with opcode Unaligned.
public static bool MatchUnaligned(this Instruction instr, out byte value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.

MatchUnaligned(Instruction, byte)

Matches an instruction with opcode Unaligned.
public static bool MatchUnaligned(this Instruction instr, byte value)

Parameters

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

Returns

bool
true if the instruction matches; false otherwise.