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