Table of Contents

Method MatchReadonly

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

MatchReadonly(Instruction)

Matches an instruction with opcode Readonly.
public static bool MatchReadonly(this Instruction instr)

Parameters

instr Instruction
The instruction to try to match.

Returns

bool
true if the instruction matches; false otherwise.