1 instantiation of InlayHint
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\InlayHint\InlayHintHandler.cs (1)
79var inlayHint = new LSP.InlayHint
17 references to InlayHint
Microsoft.CodeAnalysis.LanguageServer.Protocol (17)
Handler\InlayHint\InlayHintHandler.cs (5)
23internal sealed class InlayHintHandler : ILspServiceDocumentRequestHandler<InlayHintParams, LSP.InlayHint[]?> 41public Task<LSP.InlayHint[]?> HandleRequestAsync(InlayHintParams request, RequestContext context, CancellationToken cancellationToken) 50internal static async Task<LSP.InlayHint[]?> GetInlayHintsAsync(Document document, TextDocumentIdentifier textDocumentIdentifier, LSP.Range range, InlineHintsOptions options, bool displayAllOverride, InlayHintCache inlayHintCache, CancellationToken cancellationToken) 60var inlayHints = new LSP.InlayHint[hints.Length]; 79var inlayHint = new LSP.InlayHint
Handler\InlayHint\InlayHintResolveHandler.cs (8)
24internal sealed class InlayHintResolveHandler(IGlobalOptionService globalOptions) : ILspServiceDocumentRequestHandler<LSP.InlayHint, LSP.InlayHint> 30public TextDocumentIdentifier GetTextDocumentIdentifier(LSP.InlayHint request) 33public Task<LSP.InlayHint> HandleRequestAsync(LSP.InlayHint request, RequestContext context, CancellationToken cancellationToken) 42internal static async Task<LSP.InlayHint> ResolveInlayHintAsync( 44LSP.InlayHint request, 82internal static InlayHintResolveData GetInlayHintResolveData(LSP.InlayHint inlayHint)
Protocol\InlayHintResolveSupportSetting.cs (1)
19/// The names of the <see cref="InlayHint"/> properties that the client can resolve lazily.
Protocol\Methods.Document.cs (3)
265public static readonly LspRequest<InlayHintParams, InlayHint[]?> TextDocumentInlayHint = new(TextDocumentInlayHintName); 289public static readonly LspRequest<InlayHint, InlayHint> InlayHintResolve = new(InlayHintResolveName);