2 instantiations of DeclarationTable
Microsoft.CodeAnalysis.CSharp (2)
Declarations\DeclarationTable.cs (2)
60
return new
DeclarationTable
(_allOlderRootDeclarations, lazyRootDeclaration, _cache);
76
return new
DeclarationTable
(_allOlderRootDeclarations, latestLazyRootDeclaration: null, cache: _cache);
23 references to DeclarationTable
Microsoft.CodeAnalysis.CSharp (21)
Compilation\CSharpCompilation.cs (3)
2840
internal
DeclarationTable
Declarations
4567
return
DeclarationTable
.ContainsName(this.MergedRootDeclaration, predicate, filter, cancellationToken);
4606
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)
24
public static readonly
DeclarationTable
Empty = new DeclarationTable(
54
public
DeclarationTable
AddRootDeclaration(Lazy<RootSingleNamespaceDeclaration> lazyRootDeclaration)
71
public
DeclarationTable
RemoveRootDeclaration(Lazy<RootSingleNamespaceDeclaration> lazyRootDeclaration)
Symbols\Source\SourceModuleSymbol.cs (2)
40
private readonly
DeclarationTable
_sources;
54
DeclarationTable
declarations,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
DeclarationTests.cs (2)
119
var
table = DeclarationTable.Empty;
233
var
table = DeclarationTable.Empty;