3 writes to _streamsInUse
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
156
_streamsInUse
= 0;
307
_streamsInUse
++;
327
_streamsInUse
--;
17 references to _streamsInUse
System.Net.Http (17)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (17)
287
if (
_streamsInUse
== 0)
305
if (
_streamsInUse
< _maxConcurrentStreams)
323
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(
_streamsInUse
)}={
_streamsInUse
}");
325
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
329
Debug.Assert(
_streamsInUse
>= _httpStreams.Count);
331
if (
_streamsInUse
< _maxConcurrentStreams)
336
if (
_streamsInUse
== 0)
361
if (
_streamsInUse
< _maxConcurrentStreams)
936
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(
_streamsInUse
)}={
_streamsInUse
}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
938
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
941
if (
_streamsInUse
< _maxConcurrentStreams)
1202
Debug.Assert(_shutdown &&
_streamsInUse
== 0);
1611
if (
_streamsInUse
> _maxConcurrentStreams)
1858
Debug.Assert(
_streamsInUse
== 0);
2128
if (
_streamsInUse
== 0)