Table of Contents

Method EmitBr

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitBr(ILLabel)

Emits a Br or Br_S opcode with a ILLabel operand to the current cursor position.
public ILCursor EmitBr(ILLabel operand)

Parameters

operand ILLabel
The emitted instruction's operand.

Returns

ILCursor
this

EmitBr(Instruction)

Emits a Br or Br_S opcode with a Instruction operand to the current cursor position.
public ILCursor EmitBr(Instruction operand)

Parameters

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

Returns

ILCursor
this