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)
937
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(
_streamsInUse
)}={
_streamsInUse
}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}");
939
Debug.Assert(_availableStreamsWaiter is null ||
_streamsInUse
>= _maxConcurrentStreams);
942
if (
_streamsInUse
< _maxConcurrentStreams)
1203
Debug.Assert(_shutdown &&
_streamsInUse
== 0);
1612
if (
_streamsInUse
> _maxConcurrentStreams)
1859
Debug.Assert(
_streamsInUse
== 0);
2157
if (
_streamsInUse
== 0)