1 instantiation of FindReferenceCache
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\FindReferences\FindReferenceCache.cs (1)
47return new(document, text, model, nullableEnableSemanticModel, root, index);
8 references to FindReferenceCache
Microsoft.CodeAnalysis.Workspaces (8)
FindSymbols\FindReferences\FindReferenceCache.cs (3)
26private static readonly ConditionalWeakTable<Document, AsyncLazy<FindReferenceCache>> s_cache = new(); 28public static async ValueTask<FindReferenceCache> GetCacheAsync(Document document, CancellationToken cancellationToken) 33static async Task<FindReferenceCache> ComputeCacheAsync(Document document, CancellationToken cancellationToken)
FindSymbols\FindReferences\FindReferencesDocumentState.cs (2)
16FindReferenceCache cache, 21public readonly FindReferenceCache Cache = cache;
FindSymbols\FindReferences\FindReferencesSearchEngine.cs (2)
286var cache = await FindReferenceCache.GetCacheAsync(document, cancellationToken).ConfigureAwait(false);
FindSymbols\FindReferences\FindReferencesSearchEngine_FindReferencesInDocuments.cs (1)
108var cache = await FindReferenceCache.GetCacheAsync(document, cancellationToken).ConfigureAwait(false);