79 references to PEModuleSymbol
Microsoft.CodeAnalysis.VisualBasic (79)
Compilation\VisualBasicCompilation.vb (1)
2577Dim m = DirectCast(modules(i), Symbols.Metadata.PE.PEModuleSymbol)
Emit\PEAssemblyBuilder.vb (1)
121For Each resource In DirectCast(modules(i), Symbols.Metadata.PE.PEModuleSymbol).Module.GetEmbeddedResourcesOrThrow()
Symbols\Attributes\PEAttributeData.vb (1)
30Friend Sub New(moduleSymbol As PEModuleSymbol, handle As CustomAttributeHandle)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
28Public Sub New(moduleSymbol As PEModuleSymbol, containingType As TypeSymbol)
Symbols\Metadata\PE\MetadataDecoder.vb (6)
19Inherits MetadataDecoder(Of PEModuleSymbol, TypeSymbol, MethodSymbol, FieldSymbol, Symbol) 32moduleSymbol As PEModuleSymbol, 39moduleSymbol As PEModuleSymbol, 46moduleSymbol As PEModuleSymbol 52moduleSymbol As PEModuleSymbol, 66Friend Shadows ReadOnly Property ModuleSymbol As PEModuleSymbol
Symbols\Metadata\PE\PEAssemblySymbol.vb (2)
156Friend ReadOnly Property PrimaryModule As PEModuleSymbol 158Return DirectCast(Me.Modules(0), PEModuleSymbol)
Symbols\Metadata\PE\PEEventSymbol.vb (4)
46Friend Sub New(moduleSymbol As PEModuleSymbol, 104Dim evt = DirectCast(Me.ContainingModule, PEModuleSymbol).GetEventRegistrationTokenType() 255ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(_lazyObsoleteAttributeData, _handle, DirectCast(ContainingModule, PEModuleSymbol)) 262Dim containingPEModuleSymbol = DirectCast(ContainingModule(), PEModuleSymbol)
Symbols\Metadata\PE\PEFieldSymbol.vb (5)
50moduleSymbol As PEModuleSymbol, 142Dim containingPEModuleSymbol = DirectCast(ContainingModule(), PEModuleSymbol) 189Dim containingPEModuleSymbol = DirectCast(ContainingModule(), PEModuleSymbol) 320ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(_lazyObsoleteAttributeData, _handle, DirectCast(ContainingModule, PEModuleSymbol)) 473Return DirectCast(ContainingModule, PEModuleSymbol).Module
Symbols\Metadata\PE\PEGlobalNamespaceSymbol.vb (3)
21Private ReadOnly _moduleSymbol As PEModuleSymbol 23Friend Sub New(moduleSymbol As PEModuleSymbol) 34Friend Overrides ReadOnly Property ContainingPEModule As PEModuleSymbol
Symbols\Metadata\PE\PEMethodSymbol.vb (8)
45''' In many scenarios it is possible to avoid allocating this, thus saving total space in <see cref="PEModuleSymbol"/>. 276moduleSymbol As PEModuleSymbol, 643Dim containingPEModuleSymbol = DirectCast(ContainingModule(), PEModuleSymbol) 1227DirectCast(ContainingModule, PEModuleSymbol).Module.FindTargetAttribute(_handle, AttributeDescription.UnmanagedCallersOnlyAttribute).HasValue 1243errorInfo = DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, DirectCast(containingModule, PEModuleSymbol), Handle, CompilerFeatureRequiredFeatures.RequiredMembers, decoder) 1297Dim result = ObsoleteAttributeHelpers.GetObsoleteDataFromMetadata(_handle, DirectCast(ContainingModule, PEModuleSymbol)) 1320Dim moduleSymbol As PEModuleSymbol = _containingType.ContainingPEModule 1381hasSetsRequiredMembersValue = DirectCast(ContainingModule, PEModuleSymbol).Module.HasAttribute(Handle, AttributeDescription.SetsRequiredMembersAttribute)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (7)
92moduleSymbol As PEModuleSymbol, 100moduleSymbol As PEModuleSymbol, 108moduleSymbol As PEModuleSymbol, 169Friend ReadOnly Property ContainingPEModule As PEModuleSymbol 254Dim moduleSymbol As PEModuleSymbol = Me.ContainingPEModule 272Dim moduleSymbol As PEModuleSymbol = Me.ContainingPEModule 1266Private Shared Function GetAccessorMethod(moduleSymbol As PEModuleSymbol, methodHandleToSymbol As Dictionary(Of MethodDefinitionHandle, PEMethodSymbol), typeDef As TypeDefinitionHandle, methodDef As MethodDefinitionHandle) As PEMethodSymbol
Symbols\Metadata\PE\PENamedTypeSymbolWithEmittedNamespaceName.vb (1)
24moduleSymbol As PEModuleSymbol,
Symbols\Metadata\PE\PENamespaceSymbol.vb (1)
148Friend MustOverride ReadOnly Property ContainingPEModule As PEModuleSymbol
Symbols\Metadata\PE\PENestedNamespaceSymbol.vb (1)
90Friend Overrides ReadOnly Property ContainingPEModule As PEModuleSymbol
Symbols\Metadata\PE\PEParameterSymbol.vb (9)
68moduleSymbol As PEModuleSymbol, 119_type = TupleTypeDecoder.DecodeTupleTypesIfApplicable(type, handle, DirectCast(containingSymbol.ContainingModule, PEModuleSymbol)) 134moduleSymbol As PEModuleSymbol, 153moduleSymbol As PEModuleSymbol, 233moduleSymbol As PEModuleSymbol, 362Dim containingPEModuleSymbol = DirectCast(_containingSymbol.ContainingModule, PEModuleSymbol) 656Return DirectCast(_containingSymbol.ContainingModule, PEModuleSymbol).Module 661Return DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, DirectCast(Me.ContainingModule, PEModuleSymbol), Handle, CompilerFeatureRequiredFeatures.None, decoder) 666Dim containingModule = DirectCast(Me.ContainingModule, PEModuleSymbol)
Symbols\Metadata\PE\PEPropertySymbol.vb (5)
52moduleSymbol As PEModuleSymbol, 86moduleSymbol As PEModuleSymbol, 345ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(_lazyObsoleteAttributeData, _handle, DirectCast(ContainingModule, PEModuleSymbol)) 352Dim containingPEModuleSymbol = DirectCast(ContainingModule(), PEModuleSymbol) 648moduleSymbol As PEModuleSymbol,
Symbols\Metadata\PE\PETypeParameterSymbol.vb (6)
50moduleSymbol As PEModuleSymbol, 59moduleSymbol As PEModuleSymbol, 68moduleSymbol As PEModuleSymbol, 146Dim containingPEModuleSymbol = DirectCast(ContainingModule(), PEModuleSymbol) 375Return DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, DirectCast(ContainingModule, PEModuleSymbol), Handle, CompilerFeatureRequiredFeatures.None, decoder) 389Dim containingModule = DirectCast(Me.ContainingModule, PEModuleSymbol)
Symbols\Metadata\PE\PEUtilities.vb (1)
8Friend Function DeriveCompilerFeatureRequiredAttributeDiagnostic(symbol As Symbol, [module] As PEModuleSymbol, handle As System.Reflection.Metadata.EntityHandle, allowedFeatures As CompilerFeatureRequiredFeatures, decoder As MetadataDecoder) As DiagnosticInfo
Symbols\Metadata\PE\SymbolFactory.vb (12)
11Inherits SymbolFactory(Of PEModuleSymbol, TypeSymbol) 16moduleSymbol As PEModuleSymbol, 33Friend Overrides Function GetSpecialType(moduleSymbol As PEModuleSymbol, specialType As SpecialType) As TypeSymbol 37Friend Overrides Function GetSystemTypeSymbol(moduleSymbol As PEModuleSymbol) As TypeSymbol 41Friend Overrides Function GetEnumUnderlyingType(moduleSymbol As PEModuleSymbol, type As TypeSymbol) As TypeSymbol 45Friend Overrides Function GetPrimitiveTypeCode(moduleSymbol As PEModuleSymbol, type As TypeSymbol) As Microsoft.Cci.PrimitiveTypeCode 49Friend Overrides Function GetSZArrayTypeSymbol(moduleSymbol As PEModuleSymbol, elementType As TypeSymbol, customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol))) As TypeSymbol 60Friend Overrides Function GetUnsupportedMetadataTypeSymbol(moduleSymbol As PEModuleSymbol, exception As BadImageFormatException) As TypeSymbol 64Friend Overrides Function MakePointerTypeSymbol(moduleSymbol As PEModuleSymbol, type As TypeSymbol, customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol))) As TypeSymbol 69moduleSymbol As PEModuleSymbol, 143Friend Overrides Function MakeUnboundIfGeneric(moduleSymbol As PEModuleSymbol, type As TypeSymbol) As TypeSymbol 148Friend Overrides Function MakeFunctionPointerTypeSymbol(moduleSymbol As PEModuleSymbol, callingConvention As Cci.CallingConvention, retAndParamTypes As ImmutableArray(Of ParamInfo(Of TypeSymbol))) As TypeSymbol
Symbols\Metadata\PE\TupleTypeDecoder.vb (2)
22''' <see cref="DecodeTupleTypesIfApplicable(TypeSymbol, EntityHandle, PEModuleSymbol)"/> 78containingModule As PEModuleSymbol) As TypeSymbol
Symbols\Source\SourceAssemblySymbol.vb (2)
129Dim peModuleSymbol = DirectCast(_modules(i), Symbols.Metadata.PE.PEModuleSymbol) 292Dim peModuleSymbol = DirectCast(_modules(i), Symbols.Metadata.PE.PEModuleSymbol)