Table of Contents

Method CreateLocal

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

CreateLocal<T>()

Create a new local for use with CreateLocal<T>()
public VariableDefinition CreateLocal<T>()

Returns

VariableDefinition
The VariableDefinition of the local.

Type Parameters

T
The type of the local variable to create.

CreateLocal(Type)

Create a new local for use with CreateLocal(Type)
public VariableDefinition CreateLocal(Type type)

Parameters

type Type
The type of the local variable to create.

Returns

VariableDefinition
The VariableDefinition of the local.

CreateLocal(TypeReference)

Create a new local for use with CreateLocal(TypeReference)
public VariableDefinition CreateLocal(TypeReference typeRef)

Parameters

typeRef TypeReference
The TypeReference of the local variable to create.

Returns

VariableDefinition
The VariableDefinition of the local.