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