Table of Contents

Method EmitConstrained

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitConstrained(TypeReference)

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

Parameters

operand TypeReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitConstrained(Type)

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

Parameters

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

Returns

ILCursor
this