9 writes to _associatedHttp2ConnectionCount
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
880_associatedHttp2ConnectionCount -= _availableHttp2Connections.Count; 954_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)
939if (!_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}, " + 280Debug.Assert(_associatedHttp2ConnectionCount > 0); 299Debug.Assert(_associatedHttp2ConnectionCount > 0); 376Debug.Assert(_associatedHttp2ConnectionCount > (_availableHttp2Connections?.Count ?? 0)); 395Debug.Assert(_associatedHttp2ConnectionCount > (_availableHttp2Connections?.Count ?? 0), 396$"Expected _associatedHttp2ConnectionCount={_associatedHttp2ConnectionCount} > _availableHttp2Connections.Count={(_availableHttp2Connections?.Count ?? 0)}"); 520Debug.Assert(_associatedHttp2ConnectionCount > 0); 545Debug.Assert(_associatedHttp2ConnectionCount >= _availableHttp2Connections.Count);