Method CreateLocal
CreateLocal<T>()
Creates a new local variable of type
T and returns its definition.public VariableDefinition CreateLocal<T>()
Returns
- VariableDefinition
- The VariableDefinition of the local.
Type Parameters
T- The type of the local variable to create.
CreateLocal(Type)
Creates a new local variable of
type and returns its definition.public VariableDefinition CreateLocal(Type type)
Parameters
typeType- The type of the local variable to create.
Returns
- VariableDefinition
- The VariableDefinition of the local.
CreateLocal(TypeReference)
Creates a new local variable with
typeRef and returns its definition.public VariableDefinition CreateLocal(TypeReference typeRef)
Parameters
typeRefTypeReference- The TypeReference of the type for the local variable to create.
Returns
- VariableDefinition
- The VariableDefinition of the local.