3 writes to _streamsInUse
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
155_streamsInUse = 0; 300_streamsInUse++; 320_streamsInUse--;
17 references to _streamsInUse
System.Net.Http (17)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (17)
280if (_streamsInUse == 0) 298if (_streamsInUse < _maxConcurrentStreams) 316if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 318Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 322Debug.Assert(_streamsInUse >= _httpStreams.Count); 324if (_streamsInUse < _maxConcurrentStreams) 329if (_streamsInUse == 0) 354if (_streamsInUse < _maxConcurrentStreams) 929if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 931Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 934if (_streamsInUse < _maxConcurrentStreams) 1195Debug.Assert(_shutdown && _streamsInUse == 0); 1604if (_streamsInUse > _maxConcurrentStreams) 1851Debug.Assert(_streamsInUse == 0); 2121if (_streamsInUse == 0)