Table of Contents

Method EmitBrtrue

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitBrtrue(ILLabel)

Emits a Brtrue or Brtrue_S opcode with a ILLabel operand to the current cursor position.
public ILCursor EmitBrtrue(ILLabel operand)

Parameters

operand ILLabel
The emitted instruction's operand.

Returns

ILCursor
this

EmitBrtrue(Instruction)

Emits a Brtrue or Brtrue_S opcode with a Instruction operand to the current cursor position.
public ILCursor EmitBrtrue(Instruction operand)

Parameters

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

Returns

ILCursor
this