Table of Contents

Method EmitUnbox

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitUnbox(TypeReference)

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

Parameters

operand TypeReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitUnbox(Type)

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

Parameters

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

Returns

ILCursor
this