16 references to GlobalNamespace
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Symbols.cs (1)
2580if (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)
1454return this.GlobalNamespace; 1477return this.GlobalNamespace; 2592return AliasSymbol.CreateGlobalNamespaceAlias(this.GlobalNamespace); 3607return visitor.CheckDuplicateFilePathsAndFree(SyntaxTrees, GlobalNamespace); 3917get { return this.GlobalNamespace.GetPublicSymbol(); } 4943NamespaceOrTypeSymbol? current = _compilation.GlobalNamespace; 4961return _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;