3 writes to _streamsInUse
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
155_streamsInUse = 0; 304_streamsInUse++; 324_streamsInUse--;
17 references to _streamsInUse
System.Net.Http (17)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (17)
284if (_streamsInUse == 0) 302if (_streamsInUse < _maxConcurrentStreams) 320if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 322Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 326Debug.Assert(_streamsInUse >= _httpStreams.Count); 328if (_streamsInUse < _maxConcurrentStreams) 333if (_streamsInUse == 0) 358if (_streamsInUse < _maxConcurrentStreams) 933if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 935Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 938if (_streamsInUse < _maxConcurrentStreams) 1199Debug.Assert(_shutdown && _streamsInUse == 0); 1608if (_streamsInUse > _maxConcurrentStreams) 1855Debug.Assert(_streamsInUse == 0); 2125if (_streamsInUse == 0)