C# Класс Pchp.CodeAnalysis.Symbols.AssemblySymbol

Наследование: Symbol, IAssemblySymbol
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CreateCycleInTypeForwarderErrorTypeSymbol ErrorTypeSymbol
GetDeclaredSpecialType NamedTypeSymbol
GetDeclaredSpecialTypeMember Symbol
GetSpecialType NamedTypeSymbol
GetTypeByMetadataName NamedTypeSymbol
IAssemblySymbol INamedTypeSymbol
LookupTopLevelMetadataType NamedTypeSymbol
LookupTopLevelMetadataTypeWithCycleDetection NamedTypeSymbol
SetCorLibrary void
TryLookupForwardedMetadataTypeWithCycleDetection NamedTypeSymbol

Открытые методы

Метод Описание
GetMetadata ( ) : Microsoft.CodeAnalysis.AssemblyMetadata
GetTypeByMetadataName ( string fullyQualifiedMetadataName ) : NamedTypeSymbol
GivesAccessTo ( IAssemblySymbol toAssembly ) : bool
ResolveForwardedType ( string fullyQualifiedMetadataName ) : INamedTypeSymbol

Приватные методы

Метод Описание
CreateCycleInTypeForwarderErrorTypeSymbol ( Microsoft.CodeAnalysis.MetadataTypeName &emittedName ) : ErrorTypeSymbol
GetDeclaredSpecialType ( SpecialType type ) : NamedTypeSymbol

Lookup declaration for predefined CorLib type in this Assembly.

GetDeclaredSpecialTypeMember ( SpecialMember member ) : Symbol

Lookup member declaration in predefined CorLib type in this Assembly. Only valid if this assembly is the Cor Library

GetSpecialType ( SpecialType type ) : NamedTypeSymbol

Gets the symbol for the pre-defined type from core library associated with this assembly.

GetTypeByMetadataName ( string metadataName, bool includeReferences, bool isWellKnownType, bool useCLSCompliantNameArityEncoding = false, DiagnosticBag warnings = null ) : NamedTypeSymbol

Lookup a type within the assembly using its canonical CLR metadata name.

IAssemblySymbol ( string fullyQualifiedMetadataName ) : INamedTypeSymbol
LookupTopLevelMetadataType ( Microsoft.CodeAnalysis.MetadataTypeName &emittedName, bool digThroughForwardedTypes ) : NamedTypeSymbol

Lookup a top level type referenced from metadata, names should be compared case-sensitively.

LookupTopLevelMetadataTypeWithCycleDetection ( Microsoft.CodeAnalysis.MetadataTypeName &emittedName, ConsList visitedAssemblies, bool digThroughForwardedTypes ) : NamedTypeSymbol

Lookup a top level type referenced from metadata, names should be compared case-sensitively. Detect cycles during lookup.

SetCorLibrary ( AssemblySymbol corLibrary ) : void

A helper method for ReferenceManager to set the system assembly, which provides primitive types like Object, String, etc., e.g. mscorlib.dll.

TryLookupForwardedMetadataTypeWithCycleDetection ( Microsoft.CodeAnalysis.MetadataTypeName &emittedName, ConsList visitedAssemblies ) : NamedTypeSymbol

Look up the given metadata type, if it is forwarded.

Описание методов

GetMetadata() публичный Метод

public GetMetadata ( ) : Microsoft.CodeAnalysis.AssemblyMetadata
Результат Microsoft.CodeAnalysis.AssemblyMetadata

GetTypeByMetadataName() публичный Метод

public GetTypeByMetadataName ( string fullyQualifiedMetadataName ) : NamedTypeSymbol
fullyQualifiedMetadataName string
Результат NamedTypeSymbol

GivesAccessTo() публичный Метод

public GivesAccessTo ( IAssemblySymbol toAssembly ) : bool
toAssembly IAssemblySymbol
Результат bool

ResolveForwardedType() публичный Метод

public ResolveForwardedType ( string fullyQualifiedMetadataName ) : INamedTypeSymbol
fullyQualifiedMetadataName string
Результат INamedTypeSymbol