C# 클래스 Microsoft.CodeAnalysis.BinaryParsers.ProgramDatabase.Symbol

Class Symbol hides a number of COM interface details from .NET callers of the Debug Interface Access (DIA) SDK. For example, this type hides the IEnumXxx COM pattern from callers when enumerating child symbols. For example, this type implements IDisposable and destroys the symbol (thereby potentially unlocking the underlying PDB) when dispose is called.
상속: IDisposable
파일 보기 프로젝트 열기: Microsoft/binskim

Private Properties

프로퍼티 타입 설명
AssertNotDisposed void
CreateChildrenImpl IEnumerable
Symbol System

공개 메소드들

메소드 설명
Create ( IDiaSymbol symbol ) : Symbol

Creates a new Symbol around a COM IDiaSymbol implementation.

CreateChildIterator ( SymTagEnum symbolTagType ) : DisposableEnumerable

Creates symbols which are children of this symbol of the specified type.

CreateChildren ( ) : DisposableEnumerable

Creates all symbols which are children of this symbol.

CreateChildren ( SymTagEnum symbolTagType, string symbolName, NameSearchOptions searchOptions ) : DisposableEnumerable
CreateCompilandRecord ( ) : CompilandRecord

Gets compiland record for this symbol.

CreateCompilandRecordWithSuffix ( string suffix ) : CompilandRecord

Creates compiland record for this symbol with the supplied suffix.

CreateType ( ) : Symbol

Returns the type for a variable, the signature for the function, and so forth.

Dispose ( ) : void
GetObjectFileHash ( Pdb session ) : byte[]

The library "hash". This is an XOR of the 1st 16 bytes of all source file hashes.

GetObjectModuleDetails ( ) : Microsoft.CodeAnalysis.BinaryParsers.ProgramDatabase.ObjectModuleDetails
GetUndecoratedName ( ) : string

Gets the undecorated name with some C fixups. (The variable "name" returns the decorated name for C++, but the undecorated name for C; and for C++ this is reversed)

ToString ( ) : string

비공개 메소드들

메소드 설명
AssertNotDisposed ( ) : void
CreateChildrenImpl ( SymTagEnum symbolTagType, string symbolName, NameSearchOptions searchOptions ) : IEnumerable
Symbol ( IDiaSymbol sym ) : System

메소드 상세

Create() 공개 정적인 메소드

Creates a new Symbol around a COM IDiaSymbol implementation.
public static Create ( IDiaSymbol symbol ) : Symbol
symbol IDiaSymbol The symbol to wrap, or null. This method takes ownership of the COM RCW.
리턴 Symbol

CreateChildIterator() 공개 메소드

Creates symbols which are children of this symbol of the specified type.
public CreateChildIterator ( SymTagEnum symbolTagType ) : DisposableEnumerable
symbolTagType SymTagEnum Type of the symbols to retrieve.
리턴 DisposableEnumerable

CreateChildren() 공개 메소드

Creates all symbols which are children of this symbol.
public CreateChildren ( ) : DisposableEnumerable
리턴 DisposableEnumerable

CreateChildren() 공개 메소드

public CreateChildren ( SymTagEnum symbolTagType, string symbolName, NameSearchOptions searchOptions ) : DisposableEnumerable
symbolTagType SymTagEnum
symbolName string
searchOptions NameSearchOptions
리턴 DisposableEnumerable

CreateCompilandRecord() 공개 메소드

Gets compiland record for this symbol.
public CreateCompilandRecord ( ) : CompilandRecord
리턴 CompilandRecord

CreateCompilandRecordWithSuffix() 공개 메소드

Creates compiland record for this symbol with the supplied suffix.
public CreateCompilandRecordWithSuffix ( string suffix ) : CompilandRecord
suffix string The suffix to use.
리턴 CompilandRecord

CreateType() 공개 메소드

Returns the type for a variable, the signature for the function, and so forth.
public CreateType ( ) : Symbol
리턴 Symbol

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetObjectFileHash() 공개 메소드

The library "hash". This is an XOR of the 1st 16 bytes of all source file hashes.
public GetObjectFileHash ( Pdb session ) : byte[]
session Pdb
리턴 byte[]

GetObjectModuleDetails() 공개 메소드

public GetObjectModuleDetails ( ) : Microsoft.CodeAnalysis.BinaryParsers.ProgramDatabase.ObjectModuleDetails
리턴 Microsoft.CodeAnalysis.BinaryParsers.ProgramDatabase.ObjectModuleDetails

GetUndecoratedName() 공개 메소드

Gets the undecorated name with some C fixups. (The variable "name" returns the decorated name for C++, but the undecorated name for C; and for C++ this is reversed)
public GetUndecoratedName ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string