1 instantiation of SyntaxTreeIndex
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (1)
174
return new
SyntaxTreeIndex
(
45 references to SyntaxTreeIndex
Microsoft.CodeAnalysis.Features (1)
NavigateTo\AbstractNavigateToSearchService.CachedDocumentSearch.cs (1)
35
/// String table we use to dedupe common values while deserializing <see cref="
SyntaxTreeIndex
"/>s. Once the
Microsoft.CodeAnalysis.Workspaces (44)
FindSymbols\FindLiterals\FindLiteralsSearchEngine.cs (2)
119
var
index = await
SyntaxTreeIndex
.GetIndexAsync(
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (12)
331
Func<
SyntaxTreeIndex
, T, bool> predicate,
339
var
info = await
SyntaxTreeIndex
.GetRequiredIndexAsync(d, c).ConfigureAwait(false);
347
Func<
SyntaxTreeIndex
, bool> predicate,
372
Func<
SyntaxTreeIndex
, bool> isRelevantDocument,
399
static bool IsRelevantDocument(
SyntaxTreeIndex
syntaxTreeInfo)
438
static bool IsRelevantDocument(
SyntaxTreeIndex
syntaxTreeInfo)
481
static bool IsRelevantDocument(
SyntaxTreeIndex
syntaxTreeInfo)
519
static bool IsRelevantDocument(
SyntaxTreeIndex
syntaxTreeInfo)
550
static bool IsRelevantDocument(
SyntaxTreeIndex
syntaxTreeInfo)
875
var
index = await
SyntaxTreeIndex
.GetRequiredIndexAsync(document, cancellationToken).ConfigureAwait(false);
FindSymbols\FindReferences\Finders\ConstructorInitializerSymbolReferenceFinder.cs (2)
33
var
index = await
SyntaxTreeIndex
.GetRequiredIndexAsync(document, cancellationToken).ConfigureAwait(false);
FindSymbols\FindReferences\Finders\ExplicitConversionSymbolReferenceFinder.cs (2)
56
var
index = await
SyntaxTreeIndex
.GetRequiredIndexAsync(document, cancellationToken).ConfigureAwait(false);
FindSymbols\FindReferences\FindReferenceCache.cs (4)
45
var
index = await
SyntaxTreeIndex
.GetRequiredIndexAsync(document, cancellationToken).ConfigureAwait(false);
56
public readonly
SyntaxTreeIndex
SyntaxTreeIndex;
74
Document document, SourceText text, SemanticModel semanticModel, SemanticModel nullableEnabledSemanticModel, SyntaxNode root,
SyntaxTreeIndex
syntaxTreeIndex)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
48
var stringTable =
SyntaxTreeIndex
.GetStringTable(project);
FindSymbols\SyntaxTree\SyntaxTreeIndex.cs (7)
14
internal sealed partial class SyntaxTreeIndex : AbstractSyntaxIndex<
SyntaxTreeIndex
>
38
public static ValueTask<
SyntaxTreeIndex
> GetRequiredIndexAsync(Document document, CancellationToken cancellationToken)
41
public static ValueTask<
SyntaxTreeIndex
> GetRequiredIndexAsync(SolutionKey solutionKey, ProjectState project, DocumentState document, CancellationToken cancellationToken)
44
public static ValueTask<
SyntaxTreeIndex
?> GetIndexAsync(Document document, CancellationToken cancellationToken)
47
public static ValueTask<
SyntaxTreeIndex
?> GetIndexAsync(SolutionKey solutionKey, ProjectState project, DocumentState document, CancellationToken cancellationToken)
50
public static ValueTask<
SyntaxTreeIndex
?> GetIndexAsync(Document document, bool loadOnly, CancellationToken cancellationToken)
53
public static ValueTask<
SyntaxTreeIndex
?> GetIndexAsync(SolutionKey solutionKey, ProjectState project, DocumentState document, bool loadOnly, CancellationToken cancellationToken)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (1)
40
private static
SyntaxTreeIndex
CreateIndex(
FindSymbols\SyntaxTree\SyntaxTreeIndex_Persistence.cs (2)
19
public static Task<
SyntaxTreeIndex
?> LoadAsync(
56
private static
SyntaxTreeIndex
? ReadIndex(
LanguageServices\DeclaredSymbolFactoryService\AbstractDeclaredSymbolInfoFactoryService.cs (1)
159
var stringTable =
SyntaxTreeIndex
.GetStringTable(project);
Rename\ConflictEngine\ConflictResolver.Session.cs (2)
746
var
info = await
SyntaxTreeIndex
.GetRequiredIndexAsync(document, _cancellationToken).ConfigureAwait(false);
Shared\Extensions\DocumentExtensions.cs (5)
15
public static async ValueTask<
SyntaxTreeIndex
> GetSyntaxTreeIndexAsync(this Document document, CancellationToken cancellationToken)
17
var
result = await
SyntaxTreeIndex
.GetIndexAsync(document, loadOnly: false, cancellationToken).ConfigureAwait(false);
22
public static ValueTask<
SyntaxTreeIndex
?> GetSyntaxTreeIndexAsync(this Document document, bool loadOnly, CancellationToken cancellationToken)
23
=>
SyntaxTreeIndex
.GetIndexAsync(document, loadOnly, cancellationToken);
Workspace\Solution\Project.cs (3)
437
Func<
SyntaxTreeIndex
, CancellationToken, bool> predicate, CancellationToken cancellationToken)
441
var
index = await
SyntaxTreeIndex
.GetRequiredIndexAsync(d, cancellationToken).ConfigureAwait(false);