5 instantiations of CodeLens
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Handler\CodeLens\CodeLensHandler.cs (5)
97var codeLens = new LSP.CodeLens 144var runTestsCodeLens = new LSP.CodeLens 155var debugTestCodeLens = new LSP.CodeLens 174var runTestsCodeLens = new LSP.CodeLens 185var debugTestsCodeLens = new LSP.CodeLens
21 references to CodeLens
Microsoft.CodeAnalysis.LanguageServer.Protocol (21)
Handler\CodeLens\CodeLensHandler.cs (10)
25internal sealed class CodeLensHandler : ILspServiceDocumentRequestHandler<LSP.CodeLensParams, LSP.CodeLens[]?> 45public async Task<LSP.CodeLens[]?> HandleRequestAsync(LSP.CodeLensParams request, RequestContext context, CancellationToken cancellationToken) 66using var _ = ArrayBuilder<LSP.CodeLens>.GetInstance(out var codeLenses); 83ArrayBuilder<LSP.CodeLens> codeLenses, 97var codeLens = new LSP.CodeLens 109ArrayBuilder<LSP.CodeLens> codeLenses, 144var runTestsCodeLens = new LSP.CodeLens 155var debugTestCodeLens = new LSP.CodeLens 174var runTestsCodeLens = new LSP.CodeLens 185var debugTestsCodeLens = new LSP.CodeLens
Handler\CodeLens\CodeLensResolveHandler.cs (6)
23internal sealed class CodeLensResolveHandler() : ILspServiceDocumentRequestHandler<LSP.CodeLens, LSP.CodeLens> 34public LSP.TextDocumentIdentifier GetTextDocumentIdentifier(LSP.CodeLens request) 37public async Task<LSP.CodeLens> HandleRequestAsync(LSP.CodeLens request, RequestContext context, CancellationToken cancellationToken) 87private static CodeLensResolveData GetCodeLensResolveData(LSP.CodeLens codeLens)
Protocol\CodeLensParams.cs (2)
16internal class CodeLensParams : ITextDocumentParams, IWorkDoneProgressParams, IPartialResultParams<CodeLens[]> 36public IProgress<CodeLens[]>? PartialResultToken { get; set; }
Protocol\Methods.Document.cs (3)
42public static readonly LspRequest<CodeLensParams, CodeLens[]?> TextDocumentCodeLens = new(TextDocumentCodeLensName); 58public static readonly LspRequest<CodeLens, CodeLens> CodeLensResolve = new(CodeLensResolveName);