ILGPU  0.9.0
ILGPU.Frontend.DebugInformation.MethodScope Class Reference

Represents a default method scope. More...

Inheritance diagram for ILGPU.Frontend.DebugInformation.MethodScope:

Public Member Functions

ImmutableArray< LocalVariable >.Enumerator GetEnumerator ()
 Returns an unboxed variable enumerator. More...
 
bool Equals (MethodScope other)
 Returns true if the given scope is equal to the current scope. More...
 
override bool Equals (object obj)
 Returns true if the given object is equal to the current scope. More...
 
override int GetHashCode ()
 Returns the hash code of this scope. More...
 
override string ToString ()
 Returns the string representation of this scope. More...
 

Public Attributes

int EndOffset => StartOffset + Length
 Returns the end offset of the current scope. More...
 

Static Public Attributes

static readonly MethodScope Invalid = default
 Represents an invalid method scope. More...
 

Properties

int StartOffset [get]
 Returns the start offset of the current scope. More...
 
int Length [get]
 Returns the length of the current scope. More...
 
ImmutableArray< LocalVariableVariables [get]
 Returns all local variables. More...
 

Detailed Description

Represents a default method scope.

Member Function Documentation

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

Returns true if the given scope is equal to the current scope.

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

Returns true if the given object is equal to the current scope.

Parameters
objThe other sequence object.
Returns
True, if the given object is equal to the current scope.
ImmutableArray<LocalVariable>.Enumerator ILGPU.Frontend.DebugInformation.MethodScope.GetEnumerator ( )

Returns an unboxed variable enumerator.

Returns
An unboxed variable enumerator.
override int ILGPU.Frontend.DebugInformation.MethodScope.GetHashCode ( )

Returns the hash code of this scope.

Returns
The hash code of this scope.
override string ILGPU.Frontend.DebugInformation.MethodScope.ToString ( )

Returns the string representation of this scope.

Returns
The string representation of this scope.

Member Data Documentation

int ILGPU.Frontend.DebugInformation.MethodScope.EndOffset => StartOffset + Length

Returns the end offset of the current scope.

readonly MethodScope ILGPU.Frontend.DebugInformation.MethodScope.Invalid = default
static

Represents an invalid method scope.

Property Documentation

int ILGPU.Frontend.DebugInformation.MethodScope.Length
get

Returns the length of the current scope.

int ILGPU.Frontend.DebugInformation.MethodScope.StartOffset
get

Returns the start offset of the current scope.

ImmutableArray<LocalVariable> ILGPU.Frontend.DebugInformation.MethodScope.Variables
get

Returns all local variables.


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