C# Class CsDebugScript.CodeGen.Module

Class represents module during debugging. It is being described by PDB.
Exibir arquivo Open project: southpolenator/WinDbgCs Class Usage Examples

Public Methods

Method Description
FindGlobalTypeWildcard ( string nameWildcard ) : CsDebugScript.CodeGen.Symbol[]

Finds the list of global types specified by the wildcard.

GetAllTypes ( ) : IEnumerable

Gets all types defined in the symbol.

GetSymbol ( string name ) : Symbol

Gets the symbol by name from the cache.

Open ( XmlModule module ) : Module

Opens the module for the specified XML module description.

Private Methods

Method Description
FixSymbolSearchName ( string &name ) : void

Fixes the symbol name for the search.

GetSymbol ( IDiaSymbol symbol ) : Symbol

Gets the symbol from the cache or adds new entry in the cache if symbol wasn't previously found.

Module ( string name, string nameSpace, IDiaDataSource dia, IDiaSession session ) : System

Initializes a new instance of the Module class.

Method Details

FindGlobalTypeWildcard() public method

Finds the list of global types specified by the wildcard.
public FindGlobalTypeWildcard ( string nameWildcard ) : CsDebugScript.CodeGen.Symbol[]
nameWildcard string The type name wildcard.
return CsDebugScript.CodeGen.Symbol[]

GetAllTypes() public method

Gets all types defined in the symbol.
public GetAllTypes ( ) : IEnumerable
return IEnumerable

GetSymbol() public method

Gets the symbol by name from the cache.
public GetSymbol ( string name ) : Symbol
name string The symbol name.
return Symbol

Open() public static method

Opens the module for the specified XML module description.
public static Open ( XmlModule module ) : Module
module XmlModule The XML module description.
return Module