2 writes to Id
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
src\Workspaces\MSBuild\BuildHost\Rpc\RpcServer.cs (2)
158response = new Response { Id = request.Id, Value = result is not null ? JsonSerializer.SerializeToElement(result, JsonSettings.SingleLineSerializerOptions) : null }; 165response = 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)
72Contract.ThrowIfFalse(_outstandingRequests.TryRemove(response.Id, out var completionSourceAndExpectedType), $"We got a response for request ID {response.Id} but that was already completed.");