72 references to Module
Microsoft.CodeAnalysis.VisualBasic (72)
Compilation\VisualBasicCompilation.vb (1)
2580
For Each resource In m.
Module
.GetEmbeddedResourcesOrThrow()
Symbols\Metadata\PE\MetadataDecoder.vb (1)
58
MyBase.New(moduleSymbol.
Module
, If(TypeOf moduleSymbol.ContainingAssembly Is PEAssemblySymbol, moduleSymbol.ContainingAssembly.Identity, Nothing), SymbolFactory.Instance, moduleSymbol)
Symbols\Metadata\PE\PEAssemblySymbol.vb (4)
164
Return PrimaryModule.
Module
.HasImportedFromTypeLibAttribute(Assembly.Handle, Nothing)
170
Return PrimaryModule.
Module
.HasPrimaryInteropAssemblyAttribute(Assembly.Handle, Nothing, Nothing)
258
If primaryModuleSymbol.
Module
.HasExtensionAttribute(_assembly.Handle, ignoreCase:=True) Then
307
Dim experimentalData = PrimaryModule.
Module
.TryDecodeExperimentalAttributeData(Assembly.Handle, New MetadataDecoder(PrimaryModule))
Symbols\Metadata\PE\PEEventSymbol.vb (1)
61
Dim [module] = moduleSymbol.
Module
Symbols\Metadata\PE\PEFieldSymbol.vb (3)
62
moduleSymbol.
Module
.GetFieldDefPropsOrThrow(handle, _name, _flags)
191
containingPEModuleSymbol.
Module
.FindLastTargetAttribute(Me._handle, filteredOutConstantAttributeDescription).Handle)
232
value = _containingType.ContainingPEModule.
Module
.GetConstantFieldValue(_handle)
Symbols\Metadata\PE\PEGlobalNamespaceSymbol.vb (1)
69
groups = _moduleSymbol.
Module
.GroupTypesByNamespaceOrThrow(IdentifierComparison.Comparer)
Symbols\Metadata\PE\PEMethodSymbol.vb (9)
291
moduleSymbol.
Module
.GetMethodDefPropsOrThrow(handle, _name, implFlags, flags, rva)
679
_containingType.ContainingPEModule.
Module
.HasExtensionAttribute(Me.Handle, ignoreCase:=True) AndAlso
707
Return _containingType.ContainingPEModule.
Module
.GetDllImportData(Me._handle)
791
MetadataDecoder.GetSignatureCountsOrThrow(Me._containingType.ContainingPEModule.
Module
, Me._handle, paramCount, typeParamCount)
843
If _containingType.ContainingPEModule.
Module
.TryGetOverloadResolutionPriorityValue(_handle, priority) AndAlso
952
MetadataDecoder.GetSignatureCountsOrThrow(Me._containingType.ContainingPEModule.
Module
, Me._handle, paramCount, typeParamCount)
1083
Return _containingType.ContainingPEModule.
Module
.GetMethodSignatureOrThrow(_handle)
1125
Dim gpHandles = moduleSymbol.
Module
.GetGenericParametersForMethodOrThrow(_handle)
1321
Dim conditionalSymbols As ImmutableArray(Of String) = moduleSymbol.
Module
.GetConditionalAttributeValues(_handle)
Symbols\Metadata\PE\PEModuleSymbol.vb (8)
154
Dim assemblyMSCorLib As EntityHandle =
[Module]
.GetAssemblyRef(corlibName)
159
[Module]
.GetTypeRef(
165
For Each customAttributeHandle In
[Module]
.GetCustomAttributesOrThrow(typerefAssemblyAttributesGoHere)
202
For Each customAttributeHandle In Me.
Module
.GetCustomAttributesOrThrow(token)
208
[Module]
.GetTargetAttributeSignatureIndex(
218
[Module]
.GetTargetAttributeSignatureIndex(
459
Dim indices = Me.
Module
.GetAssemblyRefsForForwardedType(fullName.FullName, ignoreCase, matchedName)
476
For Each forwarder As KeyValuePair(Of String, (FirstIndex As Integer, SecondIndex As Integer)) In Me.
Module
.GetForwardedTypes()
Symbols\Metadata\PE\PENamedTypeSymbol.vb (28)
124
name = moduleSymbol.
Module
.GetTypeDefNameOrThrow(handle)
131
_flags = moduleSymbol.
Module
.GetTypeDefFlagsOrThrow(handle)
139
_genericParameterHandles = moduleSymbol.
Module
.GetTypeDefGenericParamsOrThrow(handle)
201
Return Me.ContainingPEModule.
Module
.GetTypeLayout(_handle)
257
Dim token As EntityHandle = moduleSymbol.
Module
.GetBaseTypeOfTypeOrThrow(Me._handle)
273
Dim interfaceImpls = moduleSymbol.
Module
.GetInterfaceImplementationsOrThrow(Me._handle)
283
Dim interfaceHandle As EntityHandle = moduleSymbol.
Module
.MetadataReader.GetInterfaceImplementation(interfaceImpl).Interface
440
ContainingPEModule.
Module
.GetAttributeHandle(Me._handle, AttributeDescription.StandardModuleAttribute))
454
Dim peModule = ContainingPEModule.
Module
554
Dim [module] = ContainingPEModule.
Module
911
Return ContainingPEModule.
Module
.HasGuidAttribute(_handle, guidString)
926
containingModuleSymbol.
Module
.HasExtensionAttribute(Me._handle, ignoreCase:=True) Then
947
Me.ContainingPEModule.
Module
.HasCodeAnalysisEmbeddedAttribute(Me._handle).ToThreeState(),
959
Me.ContainingPEModule.
Module
.HasVisualBasicEmbeddedAttribute(Me._handle).ToThreeState(),
1026
ContainingPEModule.
Module
.HasAttribute(Me._handle, AttributeDescription.StandardModuleAttribute) Then
1075
If Not Me.ContainingPEModule.
Module
.HasStringValuedAttribute(Me._handle, AttributeDescription.CoClassAttribute, coClassTypeName) Then
1098
ContainingPEModule.
Module
.HasDefaultMemberAttribute(Me._handle, memberName)
1114
Dim [module] = moduleSymbol.
Module
1128
Dim [module] = moduleSymbol.
Module
1205
Dim [module] = moduleSymbol.
Module
1221
Dim [module] = moduleSymbol.
Module
1243
Dim [module] = moduleSymbol.
Module
1273
Debug.Assert(found OrElse Not moduleSymbol.
Module
.ShouldImportMethod(typeDef, methodDef, moduleSymbol.ImportOptions))
1309
If Me.ContainingPEModule.
Module
.HasRequiredAttributeAttribute(Me.Handle) Then
1449
Dim conditionalSymbols As ImmutableArray(Of String) = ContainingPEModule.
Module
.GetConditionalAttributeValues(_handle)
1469
If Me.ContainingPEModule.
Module
.HasAttributeUsageAttribute(_handle, New MetadataDecoder(ContainingPEModule), result) Then
1514
Dim metadataModule = Me.ContainingPEModule.
Module
1580
Return ContainingPEModule.
Module
.HasAttribute(Handle, AttributeDescription.RequiredMemberAttribute)
Symbols\Metadata\PE\PENamespaceSymbol.vb (3)
235
Dim skipCheckForPiaType = Not moduleSymbol.
Module
.ContainsNoPiaLocalTypes()
241
If skipCheckForPiaType OrElse Not moduleSymbol.
Module
.IsNoPiaLocalType(t) Then
255
Dim typeDefName As String = moduleSymbol.
Module
.GetTypeDefNameOrThrow(t)
Symbols\Metadata\PE\PENestedNamespaceSymbol.vb (1)
145
Dim [module] = ContainingPEModule.
Module
Symbols\Metadata\PE\PEParameterSymbol.vb (2)
187
moduleSymbol.
Module
.GetParamPropsOrThrow(handle, _name, _flags)
192
hasOptionCompare = moduleSymbol.
Module
.HasAttribute(handle, AttributeDescription.OptionCompareAttribute)
Symbols\Metadata\PE\PEPropertySymbol.vb (3)
98
Dim [module] = moduleSymbol.
Module
229
If Not _containingType.ContainingPEModule.
Module
.TryGetOverloadResolutionPriorityValue(_handle, priority) Then
634
_lazyIsRequired = _containingType.ContainingPEModule.
Module
.HasAttribute(Handle, AttributeDescription.RequiredMemberAttribute).ToThreeState()
Symbols\Metadata\PE\PETypeParameterSymbol.vb (3)
83
moduleSymbol.
Module
.GetGenericParamPropsOrThrow(handle, _name, flags)
194
Dim metadataReader = moduleSymbol.
Module
.MetadataReader
232
hasUnmanagedModreqPattern <> moduleSymbol.
Module
.HasIsUnmanagedAttribute(_handle) Then
Symbols\Metadata\PE\PEUtilities.vb (1)
9
Dim unsupportedFeature = [module].
Module
.GetFirstUnsupportedCompilerFeatureFromToken(handle, decoder, allowedFeatures)
Symbols\Metadata\PE\SymbolFactory.vb (1)
94
If Not linkedAssemblies.IsDefaultOrEmpty OrElse moduleSymbol.
Module
.ContainsNoPiaLocalTypes() Then
Symbols\Metadata\PE\TupleTypeDecoder.vb (1)
81
Dim hasTupleElementNamesAttribute = containingModule.
Module
.HasTupleElementNamesAttribute(targetSymbolToken, elementNames)
Symbols\Source\SourceAssemblySymbol.vb (1)
130
If peModuleSymbol.
[Module]
.ContainsNoPiaLocalTypes() Then