9 writes to _associatedHttp2ConnectionCount
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
927
_associatedHttp2ConnectionCount
-= _availableHttp2Connections.Count;
1002
_associatedHttp2ConnectionCount
-= removed;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (7)
164
_associatedHttp2ConnectionCount
++;
282
_associatedHttp2ConnectionCount
--;
302
_associatedHttp2ConnectionCount
--;
376
_associatedHttp2ConnectionCount
--;
423
_associatedHttp2ConnectionCount
--;
521
_associatedHttp2ConnectionCount
--;
551
_associatedHttp2ConnectionCount
--;
10 references to _associatedHttp2ConnectionCount
System.Net.Http (10)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
987
if (!_usedSinceLastCleanup && _associatedHttp11ConnectionCount == 0 &&
_associatedHttp2ConnectionCount
== 0)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (9)
149
(
_associatedHttp2ConnectionCount
== 0 || EnableMultipleHttp2Connections) && // We allow multiple connections, or don't have a connection currently
158
$"Total associated HTTP/2.0 connections: {
_associatedHttp2ConnectionCount
}, " +
279
Debug.Assert(
_associatedHttp2ConnectionCount
> 0);
298
Debug.Assert(
_associatedHttp2ConnectionCount
> 0);
375
Debug.Assert(
_associatedHttp2ConnectionCount
> (_availableHttp2Connections?.Count ?? 0));
394
Debug.Assert(
_associatedHttp2ConnectionCount
> (_availableHttp2Connections?.Count ?? 0),
395
$"Expected _associatedHttp2ConnectionCount={
_associatedHttp2ConnectionCount
} > _availableHttp2Connections.Count={(_availableHttp2Connections?.Count ?? 0)}");
519
Debug.Assert(
_associatedHttp2ConnectionCount
> 0);
544
Debug.Assert(
_associatedHttp2ConnectionCount
>= _availableHttp2Connections.Count);