2 instantiations of CompletionListCache
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Cohost\Handlers\Completion.cs (1)
24=> s_completionListCache ??= InterlockedOperations.Initialize(ref s_completionListCache, () => new());
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionListCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new CompletionListCache();
21 references to CompletionListCache
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (4)
Cohost\Handlers\Completion.cs (4)
21private static CompletionListCache? s_completionListCache; 23private static CompletionListCache GetCache() 34var cache = GetCache(); 60var cache = GetCache();
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Handler\Completion\CompletionHandler.cs (6)
57var completionListCache = context.GetRequiredLspService<CompletionListCache>(); 75CompletionListCache completionListCache, 119CompletionListCache completionListCache, 171CompletionListCache completionListCache, 182var resultId = completionListCache.UpdateCache(new CompletionListCache.CacheEntry(completionList));
Handler\Completion\CompletionListCache.cs (1)
6using static Microsoft.CodeAnalysis.LanguageServer.Handler.Completion.CompletionListCache;
Handler\Completion\CompletionListCacheFactory.cs (1)
11[ExportCSharpVisualBasicLspServiceFactory(typeof(CompletionListCache)), Shared]
Handler\Completion\CompletionResolveHandler.cs (3)
49var completionListCache = context.GetRequiredLspService<CompletionListCache>(); 70CompletionListCache completionListCache,
Handler\Completion\Extensions.cs (2)
49this CompletionListCache completionListCache, 51[NotNullWhen(true)] out CompletionListCache.CacheEntry? cacheEntry)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
Completion\CompletionTests.cs (4)
659var cache = GetCompletionListCache(testLspServer); 1607private static CompletionListCache GetCompletionListCache(TestLspServer testLspServer) 1609var cache = testLspServer.GetRequiredLspService<CompletionListCache>();