79 references to PEModuleSymbol
Microsoft.CodeAnalysis.VisualBasic (79)
Compilation\VisualBasicCompilation.vb (1)
2577
Dim m = DirectCast(modules(i), Symbols.Metadata.PE.
PEModuleSymbol
)
Emit\PEAssemblyBuilder.vb (1)
121
For Each resource In DirectCast(modules(i), Symbols.Metadata.PE.
PEModuleSymbol
).Module.GetEmbeddedResourcesOrThrow()
Symbols\Attributes\PEAttributeData.vb (1)
30
Friend Sub New(moduleSymbol As
PEModuleSymbol
, handle As CustomAttributeHandle)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
28
Public Sub New(moduleSymbol As
PEModuleSymbol
, containingType As TypeSymbol)
Symbols\Metadata\PE\MetadataDecoder.vb (6)
19
Inherits MetadataDecoder(Of
PEModuleSymbol
, TypeSymbol, MethodSymbol, FieldSymbol, Symbol)
32
moduleSymbol As
PEModuleSymbol
,
39
moduleSymbol As
PEModuleSymbol
,
46
moduleSymbol As
PEModuleSymbol
52
moduleSymbol As
PEModuleSymbol
,
66
Friend Shadows ReadOnly Property ModuleSymbol As
PEModuleSymbol
Symbols\Metadata\PE\PEAssemblySymbol.vb (2)
156
Friend ReadOnly Property PrimaryModule As
PEModuleSymbol
158
Return DirectCast(Me.Modules(0),
PEModuleSymbol
)
Symbols\Metadata\PE\PEEventSymbol.vb (4)
46
Friend Sub New(moduleSymbol As
PEModuleSymbol
,
104
Dim evt = DirectCast(Me.ContainingModule,
PEModuleSymbol
).GetEventRegistrationTokenType()
255
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(_lazyObsoleteAttributeData, _handle, DirectCast(ContainingModule,
PEModuleSymbol
))
262
Dim containingPEModuleSymbol = DirectCast(ContainingModule(),
PEModuleSymbol
)
Symbols\Metadata\PE\PEFieldSymbol.vb (5)
50
moduleSymbol As
PEModuleSymbol
,
142
Dim containingPEModuleSymbol = DirectCast(ContainingModule(),
PEModuleSymbol
)
189
Dim containingPEModuleSymbol = DirectCast(ContainingModule(),
PEModuleSymbol
)
320
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(_lazyObsoleteAttributeData, _handle, DirectCast(ContainingModule,
PEModuleSymbol
))
473
Return DirectCast(ContainingModule,
PEModuleSymbol
).Module
Symbols\Metadata\PE\PEGlobalNamespaceSymbol.vb (3)
20
Private ReadOnly _moduleSymbol As
PEModuleSymbol
22
Friend Sub New(moduleSymbol As
PEModuleSymbol
)
33
Friend 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
"/>.
263
moduleSymbol As
PEModuleSymbol
,
630
Dim containingPEModuleSymbol = DirectCast(ContainingModule(),
PEModuleSymbol
)
1194
DirectCast(ContainingModule,
PEModuleSymbol
).Module.FindTargetAttribute(_handle, AttributeDescription.UnmanagedCallersOnlyAttribute).HasValue
1210
errorInfo = DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, DirectCast(containingModule,
PEModuleSymbol
), Handle, CompilerFeatureRequiredFeatures.RequiredMembers, decoder)
1264
Dim result = ObsoleteAttributeHelpers.GetObsoleteDataFromMetadata(_handle, DirectCast(ContainingModule,
PEModuleSymbol
))
1287
Dim moduleSymbol As
PEModuleSymbol
= _containingType.ContainingPEModule
1348
hasSetsRequiredMembersValue = DirectCast(ContainingModule,
PEModuleSymbol
).Module.HasAttribute(Handle, AttributeDescription.SetsRequiredMembersAttribute)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (7)
92
moduleSymbol As
PEModuleSymbol
,
100
moduleSymbol As
PEModuleSymbol
,
108
moduleSymbol As
PEModuleSymbol
,
169
Friend ReadOnly Property ContainingPEModule As
PEModuleSymbol
254
Dim moduleSymbol As
PEModuleSymbol
= Me.ContainingPEModule
272
Dim moduleSymbol As
PEModuleSymbol
= Me.ContainingPEModule
1266
Private 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)
24
moduleSymbol As
PEModuleSymbol
,
Symbols\Metadata\PE\PENamespaceSymbol.vb (1)
148
Friend MustOverride ReadOnly Property ContainingPEModule As
PEModuleSymbol
Symbols\Metadata\PE\PENestedNamespaceSymbol.vb (1)
90
Friend Overrides ReadOnly Property ContainingPEModule As
PEModuleSymbol
Symbols\Metadata\PE\PEParameterSymbol.vb (9)
68
moduleSymbol As
PEModuleSymbol
,
119
_type = TupleTypeDecoder.DecodeTupleTypesIfApplicable(type, handle, DirectCast(containingSymbol.ContainingModule,
PEModuleSymbol
))
134
moduleSymbol As
PEModuleSymbol
,
153
moduleSymbol As
PEModuleSymbol
,
233
moduleSymbol As
PEModuleSymbol
,
362
Dim containingPEModuleSymbol = DirectCast(_containingSymbol.ContainingModule,
PEModuleSymbol
)
656
Return DirectCast(_containingSymbol.ContainingModule,
PEModuleSymbol
).Module
661
Return DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, DirectCast(Me.ContainingModule,
PEModuleSymbol
), Handle, CompilerFeatureRequiredFeatures.None, decoder)
666
Dim containingModule = DirectCast(Me.ContainingModule,
PEModuleSymbol
)
Symbols\Metadata\PE\PEPropertySymbol.vb (5)
50
moduleSymbol As
PEModuleSymbol
,
84
moduleSymbol As
PEModuleSymbol
,
329
ObsoleteAttributeHelpers.InitializeObsoleteDataFromMetadata(_lazyObsoleteAttributeData, _handle, DirectCast(ContainingModule,
PEModuleSymbol
))
336
Dim containingPEModuleSymbol = DirectCast(ContainingModule(),
PEModuleSymbol
)
632
moduleSymbol As
PEModuleSymbol
,
Symbols\Metadata\PE\PETypeParameterSymbol.vb (6)
49
moduleSymbol As
PEModuleSymbol
,
58
moduleSymbol As
PEModuleSymbol
,
67
moduleSymbol As
PEModuleSymbol
,
145
Dim containingPEModuleSymbol = DirectCast(ContainingModule(),
PEModuleSymbol
)
374
Return DeriveCompilerFeatureRequiredAttributeDiagnostic(Me, DirectCast(ContainingModule,
PEModuleSymbol
), Handle, CompilerFeatureRequiredFeatures.None, decoder)
388
Dim containingModule = DirectCast(Me.ContainingModule,
PEModuleSymbol
)
Symbols\Metadata\PE\PEUtilities.vb (1)
8
Friend 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)
11
Inherits SymbolFactory(Of
PEModuleSymbol
, TypeSymbol)
16
moduleSymbol As
PEModuleSymbol
,
33
Friend Overrides Function GetSpecialType(moduleSymbol As
PEModuleSymbol
, specialType As SpecialType) As TypeSymbol
37
Friend Overrides Function GetSystemTypeSymbol(moduleSymbol As
PEModuleSymbol
) As TypeSymbol
41
Friend Overrides Function GetEnumUnderlyingType(moduleSymbol As
PEModuleSymbol
, type As TypeSymbol) As TypeSymbol
45
Friend Overrides Function GetPrimitiveTypeCode(moduleSymbol As
PEModuleSymbol
, type As TypeSymbol) As Microsoft.Cci.PrimitiveTypeCode
49
Friend Overrides Function GetSZArrayTypeSymbol(moduleSymbol As
PEModuleSymbol
, elementType As TypeSymbol, customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol))) As TypeSymbol
60
Friend Overrides Function GetUnsupportedMetadataTypeSymbol(moduleSymbol As
PEModuleSymbol
, exception As BadImageFormatException) As TypeSymbol
64
Friend Overrides Function MakePointerTypeSymbol(moduleSymbol As
PEModuleSymbol
, type As TypeSymbol, customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol))) As TypeSymbol
69
moduleSymbol As
PEModuleSymbol
,
143
Friend Overrides Function MakeUnboundIfGeneric(moduleSymbol As
PEModuleSymbol
, type As TypeSymbol) As TypeSymbol
148
Friend 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
)"/>
78
containingModule As
PEModuleSymbol
) As TypeSymbol
Symbols\Source\SourceAssemblySymbol.vb (2)
129
Dim peModuleSymbol = DirectCast(_modules(i), Symbols.Metadata.PE.
PEModuleSymbol
)
292
Dim peModuleSymbol = DirectCast(_modules(i), Symbols.Metadata.PE.
PEModuleSymbol
)