ILGPU  0.9.0
ILGPU.Frontend.DebugInformation.AssemblyDebugInformation Class Reference

Represents assembly debug information. More...

Inherits ILGPU.Frontend.DebugInformation.IMetadataReaderOperationProvider.

Public Member Functions

bool TryResolveMethod (int metadataToken, out MethodBase method)
 Tries to resolve the given metadata token to a method. More...
 
bool TryLoadDebugInformation (MethodBase methodBase, out MethodDebugInformation methodDebugInformation)
 Tries to load debug information for the given method base. More...
 

Public Attributes

bool IsValid => !Modules.IsDefaultOrEmpty
 Returns true if this container holds valid debug information. More...
 

Properties

Assembly Assembly [get]
 Returns the associated assembly. More...
 
ImmutableArray< Module > Modules [get]
 Returns the associated modules. More...
 

Detailed Description

Represents assembly debug information.

Member Function Documentation

bool ILGPU.Frontend.DebugInformation.AssemblyDebugInformation.TryLoadDebugInformation ( MethodBase  methodBase,
out MethodDebugInformation  methodDebugInformation 
)

Tries to load debug information for the given method base.

Parameters
methodBaseThe method base.
methodDebugInformationThe loaded debug information (or null).
Returns
True, if the requested debug information could be loaded.
bool ILGPU.Frontend.DebugInformation.AssemblyDebugInformation.TryResolveMethod ( int  metadataToken,
out MethodBase  method 
)

Tries to resolve the given metadata token to a method.

Parameters
metadataTokenThe metadata token to resolve.
methodThe resolved method (or null).
Returns
True, if the given token could be resolved.

Member Data Documentation

bool ILGPU.Frontend.DebugInformation.AssemblyDebugInformation.IsValid => !Modules.IsDefaultOrEmpty

Returns true if this container holds valid debug information.

Property Documentation

Assembly ILGPU.Frontend.DebugInformation.AssemblyDebugInformation.Assembly
get

Returns the associated assembly.

ImmutableArray<Module> ILGPU.Frontend.DebugInformation.AssemblyDebugInformation.Modules
get

Returns the associated modules.


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