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