Table of Contents

Method EmitMkrefany

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitMkrefany(TypeReference)

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

Parameters

operand TypeReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitMkrefany(Type)

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

Parameters

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

Returns

ILCursor
this