1 instantiation of CompletionListCache
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionListCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new CompletionListCache();
16 references to CompletionListCache
Microsoft.CodeAnalysis.LanguageServer.Protocol (12)
Handler\Completion\CompletionHandler.cs (4)
312var completionListCache = context.GetRequiredLspService<CompletionListCache>(); 348CompletionListCache completionListCache, 359var resultId = completionListCache.UpdateCache(new CompletionListCache.CacheEntry(request.TextDocument, 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\CompletionResolveData.cs (1)
20/// Used to retrieve the correct completion list from <see cref="CompletionListCache"/>.
Handler\Completion\CompletionResolveHandler.cs (3)
35private readonly CompletionListCache _completionListCache; 41public CompletionResolveHandler(IGlobalOptionService globalOptions, CompletionListCache completionListCache) 180private CompletionListCache.CacheEntry? GetCompletionListCacheEntry(LSP.CompletionItem request)
Handler\Completion\CompletionResolveHandlerFactory.cs (2)
27var completionListCache = lspServices.GetRequiredService<CompletionListCache>();
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
Completion\CompletionTests.cs (4)
529var cache = GetCompletionListCache(testLspServer); 1397private static CompletionListCache GetCompletionListCache(TestLspServer testLspServer) 1399var cache = testLspServer.GetRequiredLspService<CompletionListCache>();