16 references to AvailableLength
System.Net.Http (16)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (7)
117Debug.Assert(byteCount <= AvailableLength); 125if (byteCount > AvailableLength) 133Debug.Assert(AvailableLength < byteCount); 142int totalFree = _activeStart + AvailableLength; 149Debug.Assert(byteCount <= AvailableLength); 179Debug.Assert(byteCount <= AvailableLength); 184EnsureAvailableSpaceCore(AvailableLength + 1);
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (9)
1376Debug.Assert(source.Length <= _writeBuffer.AvailableLength); 1383int remaining = _writeBuffer.AvailableLength; 1414int remaining = _writeBuffer.AvailableLength; 1471if (source.Length <= _writeBuffer.AvailableLength) 1499if (source.Length <= _writeBuffer.AvailableLength) 1627Debug.Assert(_readBuffer.AvailableLength == _readBuffer.Capacity); 1628Debug.Assert(_readBuffer.AvailableLength >= InitialReadBufferSize); 1815Debug.Assert(_readBuffer.AvailableLength == _readBuffer.Capacity); 1848Debug.Assert(_readBuffer.AvailableLength == _readBuffer.Capacity);