Table of Contents

Method DefineLabel

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

DefineLabel()

Define a new label to be marked with a cursor.
public ILLabel DefineLabel()

Returns

ILLabel
A label without a target instruction.

DefineLabel(Instruction)

Define a new label pointing at a given instruction.
public ILLabel DefineLabel(Instruction target)

Parameters

target Instruction
The instruction the label will point at.

Returns

ILLabel
A label pointing at the given instruction.