C# Class System.Diagnostics.StackTraceSymbols

Inheritance: IDisposable
Show file Open project: dotnet/corefx

Public Methods

Method Description
StackTraceSymbols ( ) : System.Collections.Generic

Create an instance of this class.

Private Methods

Method Description
GetSourceLineInfo ( string assemblyPath, IntPtr loadedPeAddress, int loadedPeSize, IntPtr inMemoryPdbAddress, int inMemoryPdbSize, int methodToken, int ilOffset, string &sourceFile, int &sourceLine, int &sourceColumn ) : void

Returns the source file and line number information for the method.

IDisposable ( ) : void

Clean up any cached providers.

TryGetPEReader ( string assemblyPath, IntPtr loadedPeAddress, int loadedPeSize ) : System.Reflection.PortableExecutable.PEReader
TryGetReader ( string assemblyPath, IntPtr loadedPeAddress, int loadedPeSize, IntPtr inMemoryPdbAddress, int inMemoryPdbSize ) : System.Reflection.Metadata.MetadataReader

Returns the portable PDB reader for the assembly path

Assumes that neither PE image nor PDB loaded into memory can be unloaded or moved around.

TryOpenFile ( string path ) : Stream
TryOpenReaderForInMemoryPdb ( IntPtr inMemoryPdbAddress, int inMemoryPdbSize ) : System.Reflection.Metadata.MetadataReaderProvider
TryOpenReaderFromAssemblyFile ( string assemblyPath, IntPtr loadedPeAddress, int loadedPeSize ) : System.Reflection.Metadata.MetadataReaderProvider

Method Details

StackTraceSymbols() public method

Create an instance of this class.
public StackTraceSymbols ( ) : System.Collections.Generic
return System.Collections.Generic