2 writes to _availableStreamsWaiter
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (2)
360_availableStreamsWaiter = new TaskCompletionSource<bool>(TaskCreationOptions.RunContinuationsAsynchronously); 375_availableStreamsWaiter = null;
10 references to _availableStreamsWaiter
System.Net.Http (10)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (10)
318Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 347Debug.Assert(_availableStreamsWaiter is null, "As used currently, shouldn't already have a waiter"); 361return _availableStreamsWaiter.Task; 367if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(result)}={result}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 371if (_availableStreamsWaiter is not null) 374_availableStreamsWaiter.SetResult(result); 929if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 931Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams);