7 writes to Command
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\CodeLens\CodeLensHandler.cs (5)
102
Command
= null,
149
Command
= new LSP.Command
160
Command
= new LSP.Command
179
Command
= new LSP.Command
190
Command
= new LSP.Command
Handler\CodeLens\CodeLensResolveHandler.cs (2)
47
request.
Command
= new LSP.Command
75
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));