1 write to _clientRpc
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (1)
148
_clientRpc
= new JsonRpc(new HeaderDelimitedMessageHandler(pipeClient, pipeClient, messageFormatter))
12 references to _clientRpc
Microsoft.CodeAnalysis.LanguageServer.UnitTests (12)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (12)
154
_clientRpc
.AddLocalRpcMethod(Methods.WindowLogMessageName, GetMessageLogger("LogMessage"));
155
_clientRpc
.AddLocalRpcMethod(Methods.WindowShowMessageName, GetMessageLogger("ShowMessage"));
157
_clientRpc
.StartListening();
194
var result = await
_clientRpc
.InvokeWithParameterObjectAsync<TResponseType>(methodName, request, cancellationToken);
200
return
_clientRpc
.NotifyWithParameterObjectAsync(methodName, request);
205
return
_clientRpc
.NotifyWithParameterObjectAsync(methodName);
210
_clientRpc
.AddLocalRpcTarget(target);
215
_clientRpc
.AddLocalRpcMethod(methodName, handler);
261
await
_clientRpc
.InvokeAsync(Methods.ShutdownName);
262
await
_clientRpc
.NotifyAsync(Methods.ExitName);
264
await
_clientRpc
.Completion;
267
_clientRpc
.Dispose();