Table of Contents

Method EmitBox

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitBox(TypeReference)

Emits a Box opcode with a TypeReference operand to the current cursor position.
public ILCursor EmitBox(TypeReference operand)

Parameters

operand TypeReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitBox(Type)

Emits a Box opcode with a Type operand to the current cursor position.
public ILCursor EmitBox(Type operand)

Parameters

operand Type
The emitted instruction's operand. Will be automatically converted to a TypeReference.

Returns

ILCursor
this