68 references to SourceModuleSymbol
Microsoft.CodeAnalysis.VisualBasic (68)
Emit\NamedTypeSymbolAdapter.vb (1)
925Debug.Assert(TypeOf ContainingModule Is SourceModuleSymbol)
Emit\PropertySymbolAdapter.vb (1)
100Debug.Assert(TypeOf AdaptedPropertySymbol.ContainingModule Is SourceModuleSymbol OrElse AdaptedPropertySymbol.ContainingAssembly.IsLinked)
Emit\SynthesizedPrivateImplementationDetailsSharedConstructor.vb (2)
16Private ReadOnly _containingModule As SourceModuleSymbol 21containingModule As SourceModuleSymbol,
Symbols\AnonymousTypes\AnonymousTypeManager.vb (2)
21Public ReadOnly Property ContainingModule As SourceModuleSymbol 23Return DirectCast(Compilation.SourceModule, SourceModuleSymbol)
Symbols\EmbeddedSymbols\Symbols\EmbeddedNamedTypeSymbol.vb (1)
22Public Sub New(decl As MergedTypeDeclaration, containingSymbol As NamespaceOrTypeSymbol, containingModule As SourceModuleSymbol, kind As EmbeddedSymbolKind)
Symbols\NamedTypeSymbol.vb (2)
770Dim sourceModule = TryCast(Me.ContainingModule, SourceModuleSymbol) 785Dim sourceModule = TryCast(Me.ContainingModule, SourceModuleSymbol)
Symbols\Retargeting\RetargetingAssemblySymbol.vb (1)
100modules(0) = New RetargetingModuleSymbol(Me, DirectCast(underlyingAssembly.Modules(0), SourceModuleSymbol))
Symbols\Retargeting\RetargetingModuleSymbol.vb (4)
23''' another <see cref="SourceModuleSymbol"/> that is responsible for retargeting symbols from one assembly to another. 43Private ReadOnly _underlyingModule As SourceModuleSymbol 75Public Sub New(retargetingAssembly As RetargetingAssemblySymbol, underlyingModule As SourceModuleSymbol) 114Public ReadOnly Property UnderlyingModule As SourceModuleSymbol
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
122Private ReadOnly Property UnderlyingModule As SourceModuleSymbol
Symbols\Source\CustomEventAccessorSymbol.vb (1)
64Protected Overrides Function GetParameters(sourceModule As SourceModuleSymbol, diagBag As BindingDiagnosticBag) As ImmutableArray(Of ParameterSymbol)
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
27Friend Sub New(declaration As MergedTypeDeclaration, containingSymbol As NamespaceOrTypeSymbol, containingModule As SourceModuleSymbol)
Symbols\Source\OverloadingHelper.vb (1)
155Dim binder = BinderBuilder.CreateBinderForType(DirectCast(container.ContainingModule, SourceModuleSymbol),
Symbols\Source\SourceAssemblySymbol.vb (2)
943Friend ReadOnly Property SourceModule As SourceModuleSymbol 945Return DirectCast(_modules(0), SourceModuleSymbol)
Symbols\Source\SourceComplexParameterSymbol.vb (2)
137DirectCast(ContainingModule, SourceModuleSymbol).AddDeclarationDiagnostics(diagnostics) 158Dim binder As Binder = BinderBuilder.CreateBinderForParameterDefaultValue(DirectCast(ContainingModule, SourceModuleSymbol),
Symbols\Source\SourceEnumConstantSymbol.vb (1)
78Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol)
Symbols\Source\SourceEventSymbol.vb (2)
433Public ReadOnly Property ContainingSourceModule As SourceModuleSymbol 754Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol)
Symbols\Source\SourceFieldSymbol.vb (1)
74Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol)
Symbols\Source\SourceFile.vb (2)
18Private ReadOnly _sourceModule As SourceModuleSymbol 83Public Sub New(sourceModule As SourceModuleSymbol, tree As SyntaxTree)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
69Protected ReadOnly m_containingModule As SourceModuleSymbol 105containingModule As SourceModuleSymbol) 223containingModule As SourceModuleSymbol) As SourceMemberContainerTypeSymbol 1225Public ReadOnly Property ContainingSourceModule As SourceModuleSymbol
Symbols\Source\SourceMemberFieldSymbol.vb (4)
36Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol) 78Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol) 105DirectCast(Me.ContainingModule, SourceModuleSymbol), 347Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol)
Symbols\Source\SourceMemberMethodSymbol.vb (6)
288Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol) 304Private Function GetTypeParameters(sourceModule As SourceModuleSymbol, 353Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol) 387Private Function GetExplicitInterfaceImplementations(sourceModule As SourceModuleSymbol, diagBag As BindingDiagnosticBag) As ImmutableArray(Of MethodSymbol) 555Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol) 571Private Function GetHandles(sourceModule As SourceModuleSymbol, diagBag As BindingDiagnosticBag) As ImmutableArray(Of HandledEvent)
Symbols\Source\SourceMethodSymbol.vb (5)
608Public ReadOnly Property ContainingSourceModule As SourceModuleSymbol 610Return DirectCast(ContainingModule, SourceModuleSymbol) 2226Private Function CreateBinderForMethodDeclaration(sourceModule As SourceModuleSymbol) As Binder 2236Protected Overridable Function GetParameters(sourceModule As SourceModuleSymbol, 2280Private Function GetReturnType(sourceModule As SourceModuleSymbol,
Symbols\Source\SourceNamedTypeSymbol.vb (1)
76containingModule As SourceModuleSymbol)
Symbols\Source\SourceNamespaceSymbol.vb (2)
19Private ReadOnly _containingModule As SourceModuleSymbol 42Friend Sub New(decl As MergedNamespaceDeclaration, containingNamespace As SourceNamespaceSymbol, containingModule As SourceModuleSymbol)
Symbols\Source\SourcePropertyAccessorSymbol.vb (2)
222Private Function GetReturnType(sourceModule As SourceModuleSymbol, 285Private Function GetParameters(sourceModule As SourceModuleSymbol, diagBag As BindingDiagnosticBag) As ImmutableArray(Of ParameterSymbol)
Symbols\Source\SourcePropertySymbol.vb (6)
340Dim binder = BinderBuilder.CreateBinderForType(DirectCast(ContainingModule, SourceModuleSymbol), _syntaxRef.SyntaxTree, _containingType) 784Dim sourceModule = DirectCast(ContainingModule, SourceModuleSymbol) 915Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol) 1066Dim binder = BinderBuilder.CreateBinderForType(DirectCast(ContainingModule, SourceModuleSymbol), _syntaxRef.SyntaxTree, _containingType) 1247Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol) 1256DirectCast(Me.ContainingModule, SourceModuleSymbol).AtomicSetFlagAndRaiseSymbolDeclaredEvent(_lazyState, StateFlags.SymbolDeclaredEvent, 0, Me)
Symbols\Source\SourceTypeParameterSymbol.vb (1)
134Dim sourceModule = DirectCast(ContainingModule, SourceModuleSymbol)
Symbols\Source\SynthesizedEventAccessorSymbol.vb (2)
64DirectCast(Me.ContainingModule, SourceModuleSymbol).AtomicStoreArrayAndDiagnostics(_lazyParameters, parameterList, diagnostics) 92DirectCast(Me.ContainingModule, SourceModuleSymbol).AtomicStoreReferenceAndDiagnostics(_lazyReturnType, type, diagnostics)
Symbols\Source\SynthesizedEventBackingFieldSymbol.vb (1)
48DirectCast(ContainingModule, SourceModuleSymbol).AtomicStoreReferenceAndDiagnostics(_lazyType, result, diagnostics)
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (2)
56Dim sourceModule = DirectCast(Me.ContainingModule, SourceModuleSymbol) 425DirectCast(ContainingModule, SourceModuleSymbol).AtomicStoreIntegerAndDiagnostics(_reportedAllDeclarationErrors, 1, 0, diagnostics)
Symbols\SynthesizedSymbols\SynthesizedGlobal_StringSwitchHashMethodSymbol.vb (1)
28Public Sub New(container As SourceModuleSymbol, privateImplType As PrivateImplementationDetails)
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (2)
23Protected ReadOnly m_containingModule As SourceModuleSymbol 26Protected Sub New(containingModule As SourceModuleSymbol, name As String, privateImplType As PrivateImplementationDetails)
Symbols\Tuples\TupleTypeSymbol.vb (1)
378If diagnostics?.DiagnosticBag IsNot Nothing AndAlso DirectCast(compilation.SourceModule, SourceModuleSymbol).AnyReferencedAssembliesAreLinked Then