3 writes to _streamsInUse
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
156_streamsInUse = 0; 307_streamsInUse++; 327_streamsInUse--;
17 references to _streamsInUse
System.Net.Http (17)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (17)
287if (_streamsInUse == 0) 305if (_streamsInUse < _maxConcurrentStreams) 323if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 325Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 329Debug.Assert(_streamsInUse >= _httpStreams.Count); 331if (_streamsInUse < _maxConcurrentStreams) 336if (_streamsInUse == 0) 361if (_streamsInUse < _maxConcurrentStreams) 936if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 938Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 941if (_streamsInUse < _maxConcurrentStreams) 1202Debug.Assert(_shutdown && _streamsInUse == 0); 1611if (_streamsInUse > _maxConcurrentStreams) 1858Debug.Assert(_streamsInUse == 0); 2128if (_streamsInUse == 0)