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

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

Private Properties

Свойство Тип Описание
GetAssemblyAttributes ImmutableArray
GetAssemblyForForwardedType AssemblySymbol
GetCustomAttributesFilterExtensions ImmutableArray
GetCustomAttributesForToken ImmutableArray
GetCustomAttributesForToken ImmutableArray
GetCustomAttributesForToken ImmutableArray
GetTypeSymbolForWellKnownType NamedTypeSymbol
HasAnyCustomAttributes bool
IsAcceptableSystemTypeSymbol bool
LoadCustomAttributes void
LoadCustomAttributesFilterExtensions void
LoadCustomAttributesFilterExtensions void
LookupTopLevelMetadataType NamedTypeSymbol

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

Метод Описание
GetAttributes ( ) : ImmutableArray
PEModuleSymbol ( PEAssemblySymbol assembly, PEModule module, MetadataImportOptions importOptions, int ordinal ) : System

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

Метод Описание
GetAssemblyAttributes ( ) : ImmutableArray
GetAssemblyForForwardedType ( Microsoft.CodeAnalysis.MetadataTypeName &fullName ) : AssemblySymbol

If this module forwards the given type to another assembly, return that assembly; otherwise, return null.

The returned assembly may also forward the type.

GetCustomAttributesFilterExtensions ( EntityHandle token, bool &foundExtension ) : ImmutableArray

Filters extension attributes from the attribute results.

GetCustomAttributesForToken ( EntityHandle token ) : ImmutableArray
GetCustomAttributesForToken ( EntityHandle token, CustomAttributeHandle &paramArrayAttribute ) : ImmutableArray

Get the custom attributes, but filter out any ParamArrayAttributes.

GetCustomAttributesForToken ( EntityHandle token, CustomAttributeHandle &filteredOutAttribute1, Microsoft.CodeAnalysis.AttributeDescription filterOut1, CustomAttributeHandle &filteredOutAttribute2, Microsoft.CodeAnalysis.AttributeDescription filterOut2 ) : ImmutableArray

Returns a possibly ExtensionAttribute filtered roArray of attributes. If filterExtensionAttributes is set to true, the method will remove all ExtensionAttributes from the returned array. If it is false, the parameter foundExtension will always be set to false and can be safely ignored. The paramArrayAttribute parameter is similar to the foundExtension parameter, but instead of just indicating if the attribute was found, the parameter is set to the attribute handle for the ParamArrayAttribute if any is found and is null otherwise. This allows NoPia to filter the attribute out for the symbol but still cache it separately for emit.

GetTypeSymbolForWellKnownType ( WellKnownType type ) : NamedTypeSymbol
HasAnyCustomAttributes ( EntityHandle token ) : bool
IsAcceptableSystemTypeSymbol ( NamedTypeSymbol candidate ) : bool
LoadCustomAttributes ( EntityHandle token, ImmutableArray &customAttributes ) : void
LoadCustomAttributesFilterExtensions ( EntityHandle token, ImmutableArray &customAttributes ) : void
LoadCustomAttributesFilterExtensions ( EntityHandle token, ImmutableArray &customAttributes, bool &foundExtension ) : void
LookupTopLevelMetadataType ( Microsoft.CodeAnalysis.MetadataTypeName &emittedName ) : NamedTypeSymbol

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

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

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

public GetAttributes ( ) : ImmutableArray
Результат ImmutableArray

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

public PEModuleSymbol ( PEAssemblySymbol assembly, PEModule module, MetadataImportOptions importOptions, int ordinal ) : System
assembly PEAssemblySymbol
module PEModule
importOptions MetadataImportOptions
ordinal int
Результат System