Table of Contents

Method EmitNewarr

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitNewarr(TypeReference)

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

Parameters

operand TypeReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitNewarr(Type)

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

Parameters

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

Returns

ILCursor
this