16 references to GlobalNamespace
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Symbols.cs (1)
2665if (ReferenceEquals(qualifierOpt, Compilation.GlobalNamespace))
Binder\BinderFactory.BinderFactoryVisitor.cs (3)
912container = outer.Compilation.GlobalNamespace; 989result = new InContainerBinder(compilation.GlobalNamespace, result); 1015var globalNamespace = compilation.GlobalNamespace;
Binder\Imports.cs (1)
98var expandedGlobalNamespace = newSubmission.GlobalNamespace;
Compilation\CSharpCompilation.cs (7)
1537return this.GlobalNamespace; 1560return this.GlobalNamespace; 2715return AliasSymbol.CreateGlobalNamespaceAlias(this.GlobalNamespace); 3837return visitor.CheckDuplicateFilePathsAndFree(SyntaxTrees, GlobalNamespace); 4149get { return this.GlobalNamespace.GetPublicSymbol(); } 5175NamespaceOrTypeSymbol? current = _compilation.GlobalNamespace; 5193return _compilation.GlobalNamespace;
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (1)
37var usingsBinder = new InContainerBinder(compilation.GlobalNamespace, new BuckStopsHereBinder(compilation, associatedFileIdentifier: null));
Symbols\AliasSymbol.cs (1)
89var expandedGlobalNamespace = compilation.GlobalNamespace;
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
514binder = new InContainerBinder(compilation.GlobalNamespace, binder);
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
238var globalNamespace = compilation.GlobalNamespace;