3 writes to _streamsInUse
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
162
_streamsInUse
= 0;
320
_streamsInUse
++;
340
_streamsInUse
--;
18 references to _streamsInUse
System.Net.Http (18)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (18)
300
if (
_streamsInUse
== 0)
318
if (
_streamsInUse
< _maxConcurrentStreams)
336
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(
_streamsInUse
)}={
_streamsInUse
}");
338
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
342
Debug.Assert(
_streamsInUse
>= _httpStreams.Count);
344
if (
_streamsInUse
< _maxConcurrentStreams)
349
if (
_streamsInUse
== 0)
374
if (
_streamsInUse
< _maxConcurrentStreams)
950
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(
_streamsInUse
)}={
_streamsInUse
}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
952
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
955
if (
_streamsInUse
< _maxConcurrentStreams)
1216
Debug.Assert(_shutdown &&
_streamsInUse
== 0);
1380
if (
_streamsInUse
== 0)
1662
if (
_streamsInUse
> _maxConcurrentStreams)
1931
Debug.Assert(
_streamsInUse
== 0);
2233
if (
_streamsInUse
== 0)