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)
297
if (
_streamsInUse
== 0)
315
if (
_streamsInUse
< _maxConcurrentStreams)
333
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(
_streamsInUse
)}={
_streamsInUse
}");
335
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
339
Debug.Assert(
_streamsInUse
>= _httpStreams.Count);
341
if (
_streamsInUse
< _maxConcurrentStreams)
346
if (
_streamsInUse
== 0)
371
if (
_streamsInUse
< _maxConcurrentStreams)
954
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(
_streamsInUse
)}={
_streamsInUse
}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
956
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
959
if (
_streamsInUse
< _maxConcurrentStreams)
1220
Debug.Assert(_shutdown &&
_streamsInUse
== 0);
1384
if (
_streamsInUse
== 0)
1666
if (
_streamsInUse
> _maxConcurrentStreams)
1935
Debug.Assert(
_streamsInUse
== 0);
2237
if (
_streamsInUse
== 0)