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();
191
var result = await
_clientRpc
.InvokeWithParameterObjectAsync<TResponseType>(methodName, request, cancellationToken);
197
return
_clientRpc
.NotifyWithParameterObjectAsync(methodName, request);
202
return
_clientRpc
.NotifyWithParameterObjectAsync(methodName);
207
_clientRpc
.AddLocalRpcTarget(target);
212
_clientRpc
.AddLocalRpcMethod(methodName, handler);
256
await
_clientRpc
.InvokeAsync(Methods.ShutdownName);
257
await
_clientRpc
.NotifyAsync(Methods.ExitName);
259
await
_clientRpc
.Completion;
262
_clientRpc
.Dispose();