7 writes to Command
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\CodeLens\CodeLensHandler.cs (5)
100Command = null, 147Command = new LSP.Command 158Command = new LSP.Command 177Command = new LSP.Command 188Command = new LSP.Command
Handler\CodeLens\CodeLensResolveHandler.cs (2)
42request.Command = new LSP.Command 70request.Command = new LSP.Command
7 references to Command
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (7)
CodeLens\AbstractCodeLensTests.cs (7)
46Assert.Null(matchingCodeLens.Command); 49AssertEx.NotNull(resolvedCodeLens?.Command); 52Assert.True(resolvedCodeLens.Command.Title.StartsWith(expectedReferenceCountString)); 71.Where(actualCodeLens => actualCodeLens.Command != null && actualCodeLens.Command.CommandIdentifier == CodeLensHandler.RunTestsCommandIdentifier); 74Assert.Single(matchingCodeLenses, (c) => c.Command!.Title == title); 91Assert.All(actualCodeLenses, actualCodeLens => Assert.NotEqual(CodeLensHandler.RunTestsCommandIdentifier, actualCodeLens.Command?.CommandIdentifier));