9 writes to _associatedHttp2ConnectionCount
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
903
_associatedHttp2ConnectionCount
-= _availableHttp2Connections.Count;
978
_associatedHttp2ConnectionCount
-= removed;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (7)
164
_associatedHttp2ConnectionCount
++;
283
_associatedHttp2ConnectionCount
--;
303
_associatedHttp2ConnectionCount
--;
377
_associatedHttp2ConnectionCount
--;
424
_associatedHttp2ConnectionCount
--;
522
_associatedHttp2ConnectionCount
--;
552
_associatedHttp2ConnectionCount
--;
10 references to _associatedHttp2ConnectionCount
System.Net.Http (10)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
963
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
}, " +
280
Debug.Assert(
_associatedHttp2ConnectionCount
> 0);
299
Debug.Assert(
_associatedHttp2ConnectionCount
> 0);
376
Debug.Assert(
_associatedHttp2ConnectionCount
> (_availableHttp2Connections?.Count ?? 0));
395
Debug.Assert(
_associatedHttp2ConnectionCount
> (_availableHttp2Connections?.Count ?? 0),
396
$"Expected _associatedHttp2ConnectionCount={
_associatedHttp2ConnectionCount
} > _availableHttp2Connections.Count={(_availableHttp2Connections?.Count ?? 0)}");
520
Debug.Assert(
_associatedHttp2ConnectionCount
> 0);
545
Debug.Assert(
_associatedHttp2ConnectionCount
>= _availableHttp2Connections.Count);