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)
987if (!_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}, " + 279Debug.Assert(_associatedHttp2ConnectionCount > 0); 298Debug.Assert(_associatedHttp2ConnectionCount > 0); 375Debug.Assert(_associatedHttp2ConnectionCount > (_availableHttp2Connections?.Count ?? 0)); 394Debug.Assert(_associatedHttp2ConnectionCount > (_availableHttp2Connections?.Count ?? 0), 395$"Expected _associatedHttp2ConnectionCount={_associatedHttp2ConnectionCount} > _availableHttp2Connections.Count={(_availableHttp2Connections?.Count ?? 0)}"); 519Debug.Assert(_associatedHttp2ConnectionCount > 0); 544Debug.Assert(_associatedHttp2ConnectionCount >= _availableHttp2Connections.Count);