1 write to _clientRpc
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (1)
147
_clientRpc
= new JsonRpc(new HeaderDelimitedMessageHandler(pipeClient, pipeClient, messageFormatter))
12 references to _clientRpc
Microsoft.CodeAnalysis.LanguageServer.UnitTests (12)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (12)
153
_clientRpc
.AddLocalRpcMethod(Methods.WindowLogMessageName, GetMessageLogger("LogMessage"));
154
_clientRpc
.AddLocalRpcMethod(Methods.WindowShowMessageName, GetMessageLogger("ShowMessage"));
156
_clientRpc
.StartListening();
193
var result = await
_clientRpc
.InvokeWithParameterObjectAsync<TResponseType>(methodName, request, cancellationToken);
199
return
_clientRpc
.NotifyWithParameterObjectAsync(methodName, request);
204
return
_clientRpc
.NotifyWithParameterObjectAsync(methodName);
209
_clientRpc
.AddLocalRpcTarget(target);
214
_clientRpc
.AddLocalRpcMethod(methodName, handler);
260
await
_clientRpc
.InvokeAsync(Methods.ShutdownName);
261
await
_clientRpc
.NotifyAsync(Methods.ExitName);
263
await
_clientRpc
.Completion;
266
_clientRpc
.Dispose();