11 references to Capacity
System.Net.Http (11)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
1248int totalBufferLength = _outgoingBuffer.Capacity;
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (10)
300private int ReadBufferSize => _readBuffer.Capacity; 1403if (source.Length >= _writeBuffer.Capacity) 1438if (source.Length <= _writeBuffer.Capacity) 1459if (source.Length <= _writeBuffer.Capacity) 1543Debug.Assert(_writeBuffer.Capacity >= 8); 1652Debug.Assert(_readBuffer.AvailableLength == _readBuffer.Capacity); 1840Debug.Assert(_readBuffer.AvailableLength == _readBuffer.Capacity); 1858return destination.Length >= _readBuffer.Capacity || destination.Length == 0 ? 1874Debug.Assert(_readBuffer.AvailableLength == _readBuffer.Capacity); 1994int currentCapacity = _readBuffer.Capacity;