Table of Contents

Method EmitLeave

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLeave(ILLabel)

Emits a Leave or Leave_S opcode with a ILLabel operand to the current cursor position.
public ILCursor EmitLeave(ILLabel operand)

Parameters

operand ILLabel
The emitted instruction's operand.

Returns

ILCursor
this

EmitLeave(Instruction)

Emits a Leave or Leave_S opcode with a Instruction operand to the current cursor position.
public ILCursor EmitLeave(Instruction operand)

Parameters

operand Instruction
The emitted instruction's operand. Will be automatically converted to a ILLabel.

Returns

ILCursor
this