1 write to _clientRpc
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (1)
156
_clientRpc
= new JsonRpc(new HeaderDelimitedMessageHandler(pipeStream, pipeStream, messageFormatter))
12 references to _clientRpc
Microsoft.CodeAnalysis.LanguageServer.UnitTests (12)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (12)
162
_clientRpc
.AddLocalRpcMethod(Methods.WindowLogMessageName, GetMessageLogger("LogMessage"));
163
_clientRpc
.AddLocalRpcMethod(Methods.WindowShowMessageName, GetMessageLogger("ShowMessage"));
165
_clientRpc
.StartListening();
202
var result = await
_clientRpc
.InvokeWithParameterObjectAsync<TResponseType>(methodName, request, cancellationToken);
208
return
_clientRpc
.NotifyWithParameterObjectAsync(methodName, request);
213
return
_clientRpc
.NotifyWithParameterObjectAsync(methodName);
218
_clientRpc
.AddLocalRpcTarget(target);
223
_clientRpc
.AddLocalRpcMethod(methodName, handler);
269
await
_clientRpc
.InvokeAsync(Methods.ShutdownName);
270
await
_clientRpc
.NotifyAsync(Methods.ExitName);
272
await
_clientRpc
.Completion;
275
_clientRpc
.Dispose();