2 overrides of GlobalNamespace
Microsoft.CodeAnalysis.CSharp (2)
Symbols\MissingAssemblySymbol.cs (1)
144public sealed override NamespaceSymbol GlobalNamespace
Symbols\NonMissingAssemblySymbol.cs (1)
53public sealed override NamespaceSymbol GlobalNamespace
16 references to GlobalNamespace
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Symbols.cs (4)
350return symbol.ContainingNamespaceOrType() ?? this.Compilation.Assembly.GlobalNamespace; 834return TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(qualifierOpt ?? this.Compilation.Assembly.GlobalNamespace, string.Empty, arity: 0, errorInfo: null)); 861Compilation.Assembly.GlobalNamespace, identifierValueText, 0, 2316return new ExtendedErrorTypeSymbol(qualifierOpt ?? Compilation.Assembly.GlobalNamespace, simpleName, arity, info);
Compilation\SyntaxTreeSemanticModel.cs (4)
1328container = _compilation.Assembly.GlobalNamespace; 2306return _compilation.Assembly.GlobalNamespace; 2318return _compilation.Assembly.GlobalNamespace; 2322return _compilation.Assembly.GlobalNamespace.ImplicitType;
Compiler\ClsComplianceChecker.cs (1)
171Visit(symbol.GlobalNamespace);
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
333Debug.Assert((object)otherContainer == (object)_otherAssembly.GlobalNamespace); 339Debug.Assert((object)otherContainer == (object)_otherAssembly.GlobalNamespace);
Symbols\AssemblySymbol.cs (2)
143return this.GlobalNamespace; 150return this.GlobalNamespace;
Symbols\ExtendedErrorTypeSymbol.cs (1)
29: this(compilation.Assembly.GlobalNamespace, name, arity, errorInfo, unreported, variableUsedBeforeDeclaration)
Symbols\PublicModel\AssemblySymbol.cs (1)
25return UnderlyingAssemblySymbol.GlobalNamespace.GetPublicSymbol();
Symbols\ReducedExtensionMethodSymbol.cs (1)
134var errorNamespace = containingAssembly.GlobalNamespace;