9 writes to _associatedHttp2ConnectionCount
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
930_associatedHttp2ConnectionCount -= _availableHttp2Connections.Count; 1005_associatedHttp2ConnectionCount -= removed;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (7)
165_associatedHttp2ConnectionCount++; 283_associatedHttp2ConnectionCount--; 315_associatedHttp2ConnectionCount--; 389_associatedHttp2ConnectionCount--; 436_associatedHttp2ConnectionCount--; 534_associatedHttp2ConnectionCount--; 564_associatedHttp2ConnectionCount--;
10 references to _associatedHttp2ConnectionCount
System.Net.Http (10)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
990if (!_usedSinceLastCleanup && _associatedHttp11ConnectionCount == 0 && _associatedHttp2ConnectionCount == 0)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (9)
150(_associatedHttp2ConnectionCount == 0 || EnableMultipleHttp2Connections) && // We allow multiple connections, or don't have a connection currently 159$"Total associated HTTP/2.0 connections: {_associatedHttp2ConnectionCount}, " + 280Debug.Assert(_associatedHttp2ConnectionCount > 0); 311Debug.Assert(_associatedHttp2ConnectionCount > 0); 388Debug.Assert(_associatedHttp2ConnectionCount > (_availableHttp2Connections?.Count ?? 0)); 407Debug.Assert(_associatedHttp2ConnectionCount > (_availableHttp2Connections?.Count ?? 0), 408$"Expected _associatedHttp2ConnectionCount={_associatedHttp2ConnectionCount} > _availableHttp2Connections.Count={(_availableHttp2Connections?.Count ?? 0)}"); 532Debug.Assert(_associatedHttp2ConnectionCount > 0); 557Debug.Assert(_associatedHttp2ConnectionCount >= _availableHttp2Connections.Count);