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