5 instantiations of DeclarationTable
Microsoft.CodeAnalysis.CSharp (5)
Declarations\DeclarationTable.cs (5)
24public static readonly DeclarationTable Empty = new DeclarationTable( 60return new DeclarationTable(_allOlderRootDeclarations, lazyRootDeclaration, _cache); 67return new DeclarationTable(_allOlderRootDeclarations.Add(_latestLazyRootDeclaration), lazyRootDeclaration, cache: null); 76return new DeclarationTable(_allOlderRootDeclarations, latestLazyRootDeclaration: null, cache: _cache); 85return new DeclarationTable(_allOlderRootDeclarations.Remove(lazyRootDeclaration), _latestLazyRootDeclaration, cache: null);
25 references to DeclarationTable
Microsoft.CodeAnalysis.CSharp (21)
Compilation\CSharpCompilation.cs (3)
2601internal DeclarationTable Declarations 4278return DeclarationTable.ContainsName(this.MergedRootDeclaration, predicate, filter, cancellationToken); 4317return DeclarationTable.ContainsName(this.MergedRootDeclaration, name, filter, cancellationToken);
Compilation\SyntaxAndDeclarationManager.cs (9)
56var declTable = DeclarationTable.Empty; 101var declTable = state.DeclarationTable; 153ref DeclarationTable declTable) 179ref DeclarationTable declTable) 274ref DeclarationTable declTable) 313var declTable = state.DeclarationTable; 433ref DeclarationTable declTable) 472var declTable = state.DeclarationTable;
Compilation\SyntaxAndDeclarationManager.LazyState.cs (2)
25internal readonly DeclarationTable DeclarationTable; 33DeclarationTable declarationTable)
Declarations\DeclarationTable.Cache.cs (2)
24private readonly DeclarationTable _table; 34public Cache(DeclarationTable table)
Declarations\DeclarationTable.cs (3)
24public static readonly DeclarationTable Empty = new DeclarationTable( 54public DeclarationTable AddRootDeclaration(Lazy<RootSingleNamespaceDeclaration> lazyRootDeclaration) 71public DeclarationTable RemoveRootDeclaration(Lazy<RootSingleNamespaceDeclaration> lazyRootDeclaration)
Symbols\Source\SourceModuleSymbol.cs (2)
40private readonly DeclarationTable _sources; 54DeclarationTable declarations,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
DeclarationTests.cs (4)
119var table = DeclarationTable.Empty; 233var table = DeclarationTable.Empty;