2 instantiations of ObjectWithHelloMethod
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
RpcTests.cs (2)
60
rpcPair.Server.AddTarget(new
ObjectWithHelloMethod
());
200
rpcPair.Server.AddTarget(new
ObjectWithHelloMethod
());
2 references to ObjectWithHelloMethod
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
RpcTests.cs (2)
61
var result = await rpcPair.Client.InvokeAsync<string>(targetObject: 0, nameof(
ObjectWithHelloMethod
.Hello), [s], CancellationToken.None);
201
await Assert.ThrowsAnyAsync<OperationCanceledException>(async () => await rpcPair.Client.InvokeAsync<string>(targetObject: 0, nameof(
ObjectWithHelloMethod
.Hello), [], tokenSource.Token));