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)
271
if (
_streamsInUse
== 0)
289
if (
_streamsInUse
< _maxConcurrentStreams)
307
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(
_streamsInUse
)}={
_streamsInUse
}");
309
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
313
Debug.Assert(
_streamsInUse
>= _httpStreams.Count);
315
if (
_streamsInUse
< _maxConcurrentStreams)
320
if (
_streamsInUse
== 0)
345
if (
_streamsInUse
< _maxConcurrentStreams)
920
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(
_streamsInUse
)}={
_streamsInUse
}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
922
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
925
if (
_streamsInUse
< _maxConcurrentStreams)
1186
Debug.Assert(_shutdown &&
_streamsInUse
== 0);
1595
if (
_streamsInUse
> _maxConcurrentStreams)
1842
Debug.Assert(
_streamsInUse
== 0);
2112
if (
_streamsInUse
== 0)