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)
285
if (
_streamsInUse
== 0)
303
if (
_streamsInUse
< _maxConcurrentStreams)
321
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(
_streamsInUse
)}={
_streamsInUse
}");
323
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
327
Debug.Assert(
_streamsInUse
>= _httpStreams.Count);
329
if (
_streamsInUse
< _maxConcurrentStreams)
334
if (
_streamsInUse
== 0)
359
if (
_streamsInUse
< _maxConcurrentStreams)
934
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(
_streamsInUse
)}={
_streamsInUse
}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
936
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
939
if (
_streamsInUse
< _maxConcurrentStreams)
1200
Debug.Assert(_shutdown &&
_streamsInUse
== 0);
1609
if (
_streamsInUse
> _maxConcurrentStreams)
1856
Debug.Assert(
_streamsInUse
== 0);
2126
if (
_streamsInUse
== 0)