C# 클래스 Pchp.CodeAnalysis.Symbols.PEModuleSymbol

상속: ModuleSymbol
파일 보기 프로젝트 열기: iolevel/peachpie 1 사용 예제들

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