1 instantiation of InlayHintCache
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\InlayHint\InlayHintCacheFactory.cs (1)
20
public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new
InlayHintCache
();
10 references to InlayHintCache
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Handler\InlayHint\InlayHintCache.cs (1)
7
using static Microsoft.CodeAnalysis.LanguageServer.Handler.InlayHint.
InlayHintCache
;
Handler\InlayHint\InlayHintCacheFactory.cs (1)
11
[ExportCSharpVisualBasicLspServiceFactory(typeof(
InlayHintCache
)), Shared]
Handler\InlayHint\InlayHintHandler.cs (4)
44
var
inlayHintCache = context.GetRequiredLspService<
InlayHintCache
>();
50
internal static async Task<LSP.InlayHint[]?> GetInlayHintsAsync(Document document, TextDocumentIdentifier textDocumentIdentifier, LSP.Range range, InlineHintsOptions options, bool displayAllOverride,
InlayHintCache
inlayHintCache, CancellationToken cancellationToken)
58
var resultId = inlayHintCache.UpdateCache(new
InlayHintCache
.InlayHintCacheEntry(hints));
Handler\InlayHint\InlayHintResolveHandler.cs (4)
37
var
inlayHintCache = context.GetRequiredService<
InlayHintCache
>();
45
InlayHintCache
inlayHintCache,
76
private static InlineHint? GetCacheEntry(InlayHintResolveData resolveData,
InlayHintCache
inlayHintCache)