2 writes to Id
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
src\Workspaces\MSBuild\BuildHost\Rpc\RpcServer.cs (2)
159
response = new Response {
Id
= request.Id, Value = result is not null ? JToken.FromObject(result) : null };
166
response = new Response {
Id
= request.Id, Exception = $"An exception of type {e.GetType()} was thrown: {e.Message}" };
2 references to Id
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Rpc\RpcClient.cs (2)
73
Contract.ThrowIfFalse(_outstandingRequests.TryRemove(response.
Id
, out var completionSourceAndExpectedType), $"We got a response for request ID {response.
Id
} but that was already completed.");