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