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