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)
48
request.
Command
= new LSP.Command
76
request.
Command
= new LSP.Command
13 references to Command
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (7)
CodeLens\AbstractCodeLensTests.cs (7)
46
Assert.Null(matchingCodeLens.
Command
);
49
Assert.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));
Microsoft.VisualStudioCode.RazorExtension.UnitTests (6)
Endpoints\CohostCodeLensEndpointTest.cs (6)
106
Assert.NotNull(resolved.
Command
);
107
Assert.NotNull(resolved.
Command
.Arguments);
108
Assert.Equal(resolved.
Command
.Title, expectedTitles[i]);
109
Assert.Equal("roslyn.client.peekReferences", resolved.
Command
.CommandIdentifier);
111
var documentUri = Assert.IsType<DocumentUri>(resolved.
Command
.Arguments[0]);
114
var position = Assert.IsType<Position>(resolved.
Command
.Arguments[1]);