5 instantiations of DeclarationTable
Microsoft.CodeAnalysis.CSharp (5)
Declarations\DeclarationTable.cs (5)
24
public static readonly DeclarationTable Empty = new
DeclarationTable
(
60
return new
DeclarationTable
(_allOlderRootDeclarations, lazyRootDeclaration, _cache);
67
return new
DeclarationTable
(_allOlderRootDeclarations.Add(_latestLazyRootDeclaration), lazyRootDeclaration, cache: null);
76
return new
DeclarationTable
(_allOlderRootDeclarations, latestLazyRootDeclaration: null, cache: _cache);
85
return new
DeclarationTable
(_allOlderRootDeclarations.Remove(lazyRootDeclaration), _latestLazyRootDeclaration, cache: null);
25 references to DeclarationTable
Microsoft.CodeAnalysis.CSharp (21)
Compilation\CSharpCompilation.cs (3)
2601
internal
DeclarationTable
Declarations
4278
return
DeclarationTable
.ContainsName(this.MergedRootDeclaration, predicate, filter, cancellationToken);
4317
return
DeclarationTable
.ContainsName(this.MergedRootDeclaration, name, filter, cancellationToken);
Compilation\SyntaxAndDeclarationManager.cs (9)
56
var
declTable =
DeclarationTable
.Empty;
101
var
declTable = state.DeclarationTable;
153
ref
DeclarationTable
declTable)
179
ref
DeclarationTable
declTable)
274
ref
DeclarationTable
declTable)
313
var
declTable = state.DeclarationTable;
433
ref
DeclarationTable
declTable)
472
var
declTable = state.DeclarationTable;
Compilation\SyntaxAndDeclarationManager.LazyState.cs (2)
25
internal readonly
DeclarationTable
DeclarationTable;
33
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 (4)
DeclarationTests.cs (4)
119
var
table =
DeclarationTable
.Empty;
233
var
table =
DeclarationTable
.Empty;