3 writes to _streamsInUse
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
162_streamsInUse = 0; 320_streamsInUse++; 340_streamsInUse--;
18 references to _streamsInUse
System.Net.Http (18)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (18)
300if (_streamsInUse == 0) 318if (_streamsInUse < _maxConcurrentStreams) 336if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 338Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 342Debug.Assert(_streamsInUse >= _httpStreams.Count); 344if (_streamsInUse < _maxConcurrentStreams) 349if (_streamsInUse == 0) 374if (_streamsInUse < _maxConcurrentStreams) 950if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 952Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 955if (_streamsInUse < _maxConcurrentStreams) 1216Debug.Assert(_shutdown && _streamsInUse == 0); 1380if (_streamsInUse == 0) 1662if (_streamsInUse > _maxConcurrentStreams) 1931Debug.Assert(_streamsInUse == 0); 2233if (_streamsInUse == 0)