16 references to GlobalNamespace
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Symbols.cs (1)
2562if (ReferenceEquals(qualifierOpt, Compilation.GlobalNamespace))
Binder\BinderFactory.BinderFactoryVisitor.cs (3)
913container = outer.Compilation.GlobalNamespace; 990result = new InContainerBinder(compilation.GlobalNamespace, result); 1016var globalNamespace = compilation.GlobalNamespace;
Binder\Imports.cs (1)
98var expandedGlobalNamespace = newSubmission.GlobalNamespace;
Compilation\CSharpCompilation.cs (7)
1456return this.GlobalNamespace; 1479return this.GlobalNamespace; 2594return AliasSymbol.CreateGlobalNamespaceAlias(this.GlobalNamespace); 3606return visitor.CheckDuplicateFilePathsAndFree(SyntaxTrees, GlobalNamespace); 3916get { return this.GlobalNamespace.GetPublicSymbol(); } 4942NamespaceOrTypeSymbol? current = _compilation.GlobalNamespace; 4960return _compilation.GlobalNamespace;
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (1)
37var usingsBinder = new InContainerBinder(compilation.GlobalNamespace, new BuckStopsHereBinder(compilation, associatedFileIdentifier: null));
Symbols\AliasSymbol.cs (1)
88var expandedGlobalNamespace = compilation.GlobalNamespace;
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
474binder = new InContainerBinder(compilation.GlobalNamespace, binder);
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
223var globalNamespace = compilation.GlobalNamespace;