3 writes to _streamsInUse
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
159_streamsInUse = 0; 317_streamsInUse++; 337_streamsInUse--;
18 references to _streamsInUse
System.Net.Http (18)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (18)
297if (_streamsInUse == 0) 315if (_streamsInUse < _maxConcurrentStreams) 333if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 335Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 339Debug.Assert(_streamsInUse >= _httpStreams.Count); 341if (_streamsInUse < _maxConcurrentStreams) 346if (_streamsInUse == 0) 371if (_streamsInUse < _maxConcurrentStreams) 954if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 956Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 959if (_streamsInUse < _maxConcurrentStreams) 1220Debug.Assert(_shutdown && _streamsInUse == 0); 1384if (_streamsInUse == 0) 1666if (_streamsInUse > _maxConcurrentStreams) 1935Debug.Assert(_streamsInUse == 0); 2237if (_streamsInUse == 0)