22 references to ContainingNamespace
Microsoft.CodeAnalysis.VisualBasic (22)
Binding\Binder_Expressions.vb (1)
3443Dim containingNamespace = candidate.ContainingNamespace
Binding\BinderBuilder.vb (1)
290moduleSymbol, tree, target.ContainingNamespace)
Compilation\ClsComplianceChecker.vb (2)
549Debug.Assert(symbol.ContainingNamespace IsNot Nothing, "Only true for the global namespace and that has an empty name.") 550If symbol = rootNamespace AndAlso symbol.ContainingNamespace.IsGlobalNamespace Then
Emit\MethodSymbolAdapter.vb (1)
457Return AdaptedMethodSymbol.ContainingNamespace.GetCciAdapter()
Emit\NamedTypeSymbolAdapter.vb (1)
789Return If(AdaptedNamedTypeSymbol.GetEmittedNamespaceName(), AdaptedNamedTypeSymbol.ContainingNamespace.ToDisplayString(SymbolDisplayFormat.QualifiedNameOnlyFormat))
Emit\NamespaceSymbolAdapter.vb (1)
24Return AdaptedNamespaceSymbol.ContainingNamespace?.GetCciAdapter()
Symbols\AssemblySymbol.vb (1)
144Dim container As NamespaceSymbol = namespaceSymbol.ContainingNamespace
Symbols\MergedNamespaceSymbol.vb (1)
710parentsArray.Add(item.ContainingNamespace)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1407Dim nestedType = New PENamedTypeSymbol(ContainingPEModule, DirectCast(ContainingNamespace, PENamespaceSymbol), _handle)
Symbols\NamedTypeSymbol.vb (2)
1524If(ContainingNamespace.ContainingNamespace?.IsGlobalNamespace, False) AndAlso 1526ContainingNamespace.Name = MetadataHelpers.SystemString Then
Symbols\NamespaceSymbol.vb (1)
62Return ContainingNamespace Is Nothing
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
375Dim namespaceName As String = If(type.GetEmittedNamespaceName(), type.ContainingNamespace.ToDisplayString(SymbolDisplayFormat.QualifiedNameOnlyFormat))
Symbols\Source\SourceNamedTypeSymbol.vb (1)
85Dim emittedName As String = If(Me.GetEmittedNamespaceName(), Me.ContainingNamespace.ToDisplayString(SymbolDisplayFormat.QualifiedNameOnlyFormat))
Symbols\Source\SourceNamespaceSymbol.vb (1)
544Dim containingNamespace = TryCast(Me.ContainingNamespace, SourceNamespaceSymbol)
Symbols\Symbol.vb (2)
1201Return Me.ContainingNamespace 1207Return Me.ContainingNamespace
Symbols\TypeSymbolExtensions.vb (4)
1257Dim container = [namespace].ContainingNamespace 1341Dim innerNamespace = typeSymbol.ContainingNamespace 1347midNamespace = typeSymbol.ContainingNamespace 1354Dim outerNamespace = midNamespace.ContainingNamespace