3 writes to _streamsInUse
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
155_streamsInUse = 0; 291_streamsInUse++; 311_streamsInUse--;
17 references to _streamsInUse
System.Net.Http (17)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (17)
271if (_streamsInUse == 0) 289if (_streamsInUse < _maxConcurrentStreams) 307if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 309Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 313Debug.Assert(_streamsInUse >= _httpStreams.Count); 315if (_streamsInUse < _maxConcurrentStreams) 320if (_streamsInUse == 0) 345if (_streamsInUse < _maxConcurrentStreams) 920if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 922Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 925if (_streamsInUse < _maxConcurrentStreams) 1186Debug.Assert(_shutdown && _streamsInUse == 0); 1595if (_streamsInUse > _maxConcurrentStreams) 1842Debug.Assert(_streamsInUse == 0); 2112if (_streamsInUse == 0)