4 references to _outstandingRequests
Microsoft.CodeAnalysis.Workspaces.MSBuild (4)
Rpc\RpcClient.cs (4)
68Contract.ThrowIfFalse(_outstandingRequests.TryRemove(response.Id, out var completionSourceAndExpectedType), $"We got a response for request ID {response.Id} but that was already completed."); 104foreach (var (request, _) in _outstandingRequests.Values) 146while (!_outstandingRequests.TryAdd(requestId, (requestCompletionSource, expectedReturnType))); 175_outstandingRequests.TryRemove(requestId, out _);