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