16 references to Declarations
Microsoft.CodeAnalysis.CSharp (16)
Binder\WithExternAndUsingAliasesBinder.cs (1)
178foreach (var declaration in ((SourceNamespaceSymbol)Compilation.SourceModule.GlobalNamespace).MergedDeclaration.Declarations)
Compilation\CSharpCompilation.cs (1)
3074foreach (var singleDeclaration in ((SourceNamespaceSymbol)SourceModule.GlobalNamespace).MergedDeclaration.Declarations)
Declarations\DeclarationTable.Cache.cs (1)
85MergedRoot.Declarations.OfType<RootSingleNamespaceDeclaration>().SelectMany(r => r.ReferenceDirectives).AsImmutable());
Declarations\DeclarationTable.cs (1)
127var oldRootDeclarations = oldRoot.Declarations;
Symbols\Source\SourceAssemblySymbol.cs (1)
1553var declarations = DeclaringCompilation.MergedRootDeclaration.Declarations;
Symbols\Source\SourceModuleSymbol.cs (1)
411DeclaringCompilation.MergedRootDeclaration.Declarations.SelectAsArray(d => (Location)d.Location));
Symbols\Source\SourceNamedTypeSymbol.cs (1)
783foreach (var decl in this.DeclaringCompilation.MergedRootDeclaration.Declarations)
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (3)
71foreach (var declaration in _mergedDeclaration.Declarations) 272foreach (var singleDeclaration in _mergedDeclaration.Declarations) 351foreach (var singleDeclaration in _mergedDeclaration.Declarations)
Symbols\Source\SourceNamespaceSymbol.cs (5)
63foreach (var singleDeclaration in mergedDeclaration.Declarations) 105=> _mergedDeclaration.Declarations is [var declaration, ..] ? declaration.NameLocation : null; 111foreach (var decl in _mergedDeclaration.Declarations) 132return _mergedDeclaration.Declarations.SelectAsArray(s_declaringSyntaxReferencesSelector); 464foreach (var declaration in _mergedDeclaration.Declarations)
Symbols\Source\SourceNamespaceSymbol_Completion.cs (1)
37foreach (var declaration in _mergedDeclaration.Declarations)