7 instantiations of DeclarationTable
Microsoft.CodeAnalysis.CSharp (7)
Declarations\DeclarationTable.Builder.cs (6)
81
_table = new
DeclarationTable
(_table._allOlderRootDeclarations, lastDeclaration, _table._cache);
88
_table = new
DeclarationTable
(_table._allOlderRootDeclarations.Add(_table._latestLazyRootDeclaration), lastDeclaration, cache: null);
102
_table = new
DeclarationTable
(newOlderRootDeclarations, lastDeclaration, cache: null);
122
_table = new
DeclarationTable
(_table._allOlderRootDeclarations, latestLazyRootDeclaration: null, cache: _table._cache);
131
_table = new
DeclarationTable
(_table._allOlderRootDeclarations.Remove(firstDeclaration), _table._latestLazyRootDeclaration, cache: null);
141
_table = new
DeclarationTable
(newOlderRootDeclarations, newLatestLazyRootDeclaration, cache: null);
Declarations\DeclarationTable.cs (1)
25
public static readonly DeclarationTable Empty = new
DeclarationTable
(
29 references to DeclarationTable
Microsoft.CodeAnalysis.CSharp (21)
Compilation\CSharpCompilation.cs (3)
2947
internal
DeclarationTable
Declarations
4709
return
DeclarationTable
.ContainsName(this.MergedRootDeclaration, predicate, filter, cancellationToken);
4748
return
DeclarationTable
.ContainsName(this.MergedRootDeclaration, name, filter, cancellationToken);
Compilation\SyntaxAndDeclarationManager.cs (5)
62
var declTableBuilder =
DeclarationTable
.Empty.ToBuilder();
165
DeclarationTable
.Builder declTableBuilder)
200
DeclarationTable
.Builder declTableBuilder)
297
DeclarationTable
.Builder declTableBuilder)
459
DeclarationTable
.Builder declTableBuilder)
Compilation\SyntaxAndDeclarationManager.LazyState.cs (2)
44
internal readonly
DeclarationTable
DeclarationTable;
53
DeclarationTable
declarationTable)
Declarations\DeclarationTable.Builder.cs (6)
19
private
DeclarationTable
_table;
25
_table =
DeclarationTable
.Empty;
30
public static Builder GetInstance(
DeclarationTable
table)
55
public
DeclarationTable
ToDeclarationTableAndFree()
60
var
result = _table;
62
_table =
DeclarationTable
.Empty;
Declarations\DeclarationTable.Cache.cs (2)
24
private readonly
DeclarationTable
_table;
34
public Cache(
DeclarationTable
table)
Declarations\DeclarationTable.cs (1)
25
public static readonly
DeclarationTable
Empty = new DeclarationTable(
Symbols\Source\SourceModuleSymbol.cs (2)
41
private readonly
DeclarationTable
_sources;
55
DeclarationTable
declarations,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
DeclarationTests.cs (8)
119
var
table =
DeclarationTable
.Empty;
237
var
table =
DeclarationTable
.Empty;
307
var
table =
DeclarationTable
.Empty;
358
var
table =
DeclarationTable
.Empty;