9 writes to _associatedHttp2ConnectionCount
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
1036_associatedHttp2ConnectionCount -= _availableHttp2Connections.Count; 1122_associatedHttp2ConnectionCount -= removed;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (7)
173_associatedHttp2ConnectionCount++; 291_associatedHttp2ConnectionCount--; 323_associatedHttp2ConnectionCount--; 397_associatedHttp2ConnectionCount--; 444_associatedHttp2ConnectionCount--; 542_associatedHttp2ConnectionCount--; 572_associatedHttp2ConnectionCount--;
11 references to _associatedHttp2ConnectionCount
System.Net.Http (11)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
1105if (!_usedSinceLastCleanup && _associatedHttp11ConnectionCount == 0 && _associatedHttp2ConnectionCount == 0 &&
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (10)
158(_associatedHttp2ConnectionCount == 0 || EnableMultipleHttp2Connections) && // We allow multiple connections, or don't have a connection currently 167$"Total associated HTTP/2.0 connections: {_associatedHttp2ConnectionCount}, " + 288Debug.Assert(_associatedHttp2ConnectionCount > 0); 319Debug.Assert(_associatedHttp2ConnectionCount > 0); 396Debug.Assert(_associatedHttp2ConnectionCount > (_availableHttp2Connections?.Count ?? 0)); 415Debug.Assert(_associatedHttp2ConnectionCount > (_availableHttp2Connections?.Count ?? 0), 416$"Expected _associatedHttp2ConnectionCount={_associatedHttp2ConnectionCount} > _availableHttp2Connections.Count={(_availableHttp2Connections?.Count ?? 0)}"); 540Debug.Assert(_associatedHttp2ConnectionCount > 0); 565Debug.Assert(_associatedHttp2ConnectionCount >= _availableHttp2Connections.Count); 641anyConnections = localHttp2Connections is { Length: > 0 } || _associatedHttp2ConnectionCount > 0;