3 writes to _streamsInUse
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
156_streamsInUse = 0; 305_streamsInUse++; 325_streamsInUse--;
17 references to _streamsInUse
System.Net.Http (17)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (17)
285if (_streamsInUse == 0) 303if (_streamsInUse < _maxConcurrentStreams) 321if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 323Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 327Debug.Assert(_streamsInUse >= _httpStreams.Count); 329if (_streamsInUse < _maxConcurrentStreams) 334if (_streamsInUse == 0) 359if (_streamsInUse < _maxConcurrentStreams) 934if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 936Debug.Assert(_availableStreamsWaiter is null || _streamsInUse >= _maxConcurrentStreams); 939if (_streamsInUse < _maxConcurrentStreams) 1200Debug.Assert(_shutdown && _streamsInUse == 0); 1609if (_streamsInUse > _maxConcurrentStreams) 1856Debug.Assert(_streamsInUse == 0); 2126if (_streamsInUse == 0)