ILGPU  0.9.0
ILGPU.Frontend.DebugInformation.LocalVariable Struct Reference

Represents a local variable in a scope. More...

Inheritance diagram for ILGPU.Frontend.DebugInformation.LocalVariable:

Public Member Functions

 LocalVariable (int index, string name)
 Constructs a new local variable. More...
 
bool Equals (LocalVariable other)
 Returns true if the given local variable is equal to the current local variable. More...
 
override bool Equals (object obj)
 Returns true if the given object is equal to the current local variable. More...
 
override int GetHashCode ()
 Returns the hash code of this index. More...
 
override string ToString ()
 Returns the string representation of this local variable. More...
 

Static Public Member Functions

static bool operator== (LocalVariable first, LocalVariable second)
 Returns true if the first and second local variable are the same. More...
 
static bool operator!= (LocalVariable first, LocalVariable second)
 Returns true if the first and second local variable are not the same. More...
 

Properties

int Index [get]
 Returns the referenced local-variable index. More...
 
string Name [get]
 Returns the variable name. More...
 

Detailed Description

Represents a local variable in a scope.

Constructor & Destructor Documentation

ILGPU.Frontend.DebugInformation.LocalVariable.LocalVariable ( int  index,
string  name 
)

Constructs a new local variable.

Parameters
indexThe variable index.
nameThe variable name.

Member Function Documentation

bool ILGPU.Frontend.DebugInformation.LocalVariable.Equals ( LocalVariable  other)

Returns true if the given local variable is equal to the current local variable.

Parameters
otherThe other local variable.
Returns
True, if the given index is equal to the current local variable.
override bool ILGPU.Frontend.DebugInformation.LocalVariable.Equals ( object  obj)

Returns true if the given object is equal to the current local variable.

Parameters
objThe other object.
Returns
True, if the given object is equal to the current local variable.
override int ILGPU.Frontend.DebugInformation.LocalVariable.GetHashCode ( )

Returns the hash code of this index.

Returns
The hash code of this index.
static bool ILGPU.Frontend.DebugInformation.LocalVariable.operator!= ( LocalVariable  first,
LocalVariable  second 
)
static

Returns true if the first and second local variable are not the same.

Parameters
firstThe first local variable.
secondThe second local variable.
Returns
True, if the first and second local variable are not the same.
static bool ILGPU.Frontend.DebugInformation.LocalVariable.operator== ( LocalVariable  first,
LocalVariable  second 
)
static

Returns true if the first and second local variable are the same.

Parameters
firstThe first local variable.
secondThe second local variable.
Returns
True, if the first and second local variable are the same.
override string ILGPU.Frontend.DebugInformation.LocalVariable.ToString ( )

Returns the string representation of this local variable.

Returns
The string representation of this local variable.

Property Documentation

int ILGPU.Frontend.DebugInformation.LocalVariable.Index
get

Returns the referenced local-variable index.

string ILGPU.Frontend.DebugInformation.LocalVariable.Name
get

Returns the variable name.


The documentation for this struct was generated from the following file: