Table of Contents

Method EmitCpobj

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitCpobj(TypeReference)

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

Parameters

operand TypeReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitCpobj(Type)

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

Parameters

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

Returns

ILCursor
this