1 instantiation of ObjectWithThrowingMethod
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
RpcTests.cs (1)
185
rpcPair.Server.AddTarget(new
ObjectWithThrowingMethod
());
1 reference to ObjectWithThrowingMethod
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
RpcTests.cs (1)
187
var exception = await Assert.ThrowsAsync<RemoteInvocationException>(() => rpcPair.Client.InvokeAsync(targetObject: 0, nameof(
ObjectWithThrowingMethod
.ThrowException), [], CancellationToken.None));