5 instantiations of DeclarationTable
Microsoft.CodeAnalysis.CSharp (5)
Declarations\DeclarationTable.cs (5)
25
public static readonly DeclarationTable Empty = new
DeclarationTable
(
61
return new
DeclarationTable
(_allOlderRootDeclarations, lazyRootDeclaration, _cache);
68
return new
DeclarationTable
(_allOlderRootDeclarations.Add(_latestLazyRootDeclaration), lazyRootDeclaration, cache: null);
77
return new
DeclarationTable
(_allOlderRootDeclarations, latestLazyRootDeclaration: null, cache: _cache);
86
return new
DeclarationTable
(_allOlderRootDeclarations.Remove(lazyRootDeclaration), _latestLazyRootDeclaration, cache: null);
25 references to DeclarationTable
Microsoft.CodeAnalysis.CSharp (21)
Compilation\CSharpCompilation.cs (3)
2889
internal
DeclarationTable
Declarations
4640
return
DeclarationTable
.ContainsName(this.MergedRootDeclaration, predicate, filter, cancellationToken);
4679
return
DeclarationTable
.ContainsName(this.MergedRootDeclaration, name, filter, cancellationToken);
Compilation\SyntaxAndDeclarationManager.cs (9)
62
var
declTable =
DeclarationTable
.Empty;
110
var
declTable = state.DeclarationTable;
165
ref
DeclarationTable
declTable)
200
ref
DeclarationTable
declTable)
297
ref
DeclarationTable
declTable)
337
var
declTable = state.DeclarationTable;
459
ref
DeclarationTable
declTable)
499
var
declTable = state.DeclarationTable;
Compilation\SyntaxAndDeclarationManager.LazyState.cs (2)
44
internal readonly
DeclarationTable
DeclarationTable;
53
DeclarationTable
declarationTable)
Declarations\DeclarationTable.Cache.cs (2)
24
private readonly
DeclarationTable
_table;
34
public Cache(
DeclarationTable
table)
Declarations\DeclarationTable.cs (3)
25
public static readonly
DeclarationTable
Empty = new DeclarationTable(
55
public
DeclarationTable
AddRootDeclaration(Lazy<RootSingleNamespaceDeclaration> lazyRootDeclaration)
72
public
DeclarationTable
RemoveRootDeclaration(Lazy<RootSingleNamespaceDeclaration> lazyRootDeclaration)
Symbols\Source\SourceModuleSymbol.cs (2)
41
private readonly
DeclarationTable
_sources;
55
DeclarationTable
declarations,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
DeclarationTests.cs (4)
119
var
table =
DeclarationTable
.Empty;
233
var
table =
DeclarationTable
.Empty;