11 references to Capacity
System.Net.Http (11)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
1227int totalBufferLength = _outgoingBuffer.Capacity;
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (10)
299private int ReadBufferSize => _readBuffer.Capacity; 1400if (source.Length >= _writeBuffer.Capacity) 1435if (source.Length <= _writeBuffer.Capacity) 1456if (source.Length <= _writeBuffer.Capacity) 1540Debug.Assert(_writeBuffer.Capacity >= 8); 1627Debug.Assert(_readBuffer.AvailableLength == _readBuffer.Capacity); 1815Debug.Assert(_readBuffer.AvailableLength == _readBuffer.Capacity); 1833return destination.Length >= _readBuffer.Capacity || destination.Length == 0 ? 1848Debug.Assert(_readBuffer.AvailableLength == _readBuffer.Capacity); 1968int currentCapacity = _readBuffer.Capacity;