5 writes to _compressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
312_compressedSize = 0;
System\IO\Compression\ZipArchiveEntry.cs (4)
71_compressedSize = cd.CompressedSize; 128_compressedSize = 0; // we don't know these yet 747thisRef._compressedSize = backing.Position - initialPosition; 1131_compressedSize = 0;
22 references to _compressedSize
System.IO.Compression (22)
System\IO\Compression\ZipArchiveEntry.Async.cs (3)
177await _archive.ArchiveStream.ReadAtLeastAsync(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true, cancellationToken).ConfigureAwait(false); 337if (_compressedSize != 0) 339_archive.ArchiveStream.Seek(_compressedSize, SeekOrigin.Current);
System\IO\Compression\ZipArchiveEntry.cs (19)
186return _compressedSize; 505CompressedSize = _compressedSize, 511compressedSizeTruncated = (uint)_compressedSize; 656byte[][] compressedBytes = new byte[(_compressedSize / maxSingleBufferSize) + 1][]; 661compressedBytes[compressedBytes.Length - 1] = new byte[_compressedSize % maxSingleBufferSize]; 683_archive.ArchiveStream.ReadAtLeast(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true); 787Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offsetOfCompressedData, _compressedSize); 900if (offsetOfCompressedData + _compressedSize > _archive.ArchiveStream.Length) 911if (_compressedSize > int.MaxValue) 924private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 1019CompressedSize = _compressedSize, 1027compressedSizeTruncated = (uint)_compressedSize; 1156if (_compressedSize != 0) 1158_archive.ArchiveStream.Seek(_compressedSize, SeekOrigin.Current); 1231compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_compressedSize; 1278BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..], _compressedSize); 1288BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeCompressedSizeLocation), _compressedSize); 1316BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..], _compressedSize); 1323BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)_compressedSize);