Class CilLocalVariable
- Namespace
- AsmResolver.DotNet.Code.Cil
- Assembly
- AsmResolver.DotNet.dll
Represents a local variable defined in a body of a CIL method body.
public class CilLocalVariable
- Inheritance
-
CilLocalVariable
- Inherited Members
Constructors
CilLocalVariable(TypeSignature)
Creates a new local variable.
public CilLocalVariable(TypeSignature variableType)
Parameters
variableType
TypeSignatureThe variable type.
Properties
Index
Gets the index of the variable.
public int Index { get; }
Property Value
VariableType
Gets or sets the type of values this variable stores.
public TypeSignature VariableType { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.