5 writes to _compressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
377_compressedSize = 0;
System\IO\Compression\ZipArchiveEntry.cs (4)
71_compressedSize = cd.CompressedSize; 128_compressedSize = 0; // we don't know these yet 804thisRef._compressedSize = backing.Position - initialPosition; 1198_compressedSize = 0;
22 references to _compressedSize
System.IO.Compression (22)
System\IO\Compression\ZipArchiveEntry.Async.cs (3)
233await _archive.ArchiveStream.ReadAtLeastAsync(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true, cancellationToken).ConfigureAwait(false); 402if (_compressedSize != 0) 404_archive.ArchiveStream.Seek(_compressedSize, SeekOrigin.Current);
System\IO\Compression\ZipArchiveEntry.cs (19)
202return _compressedSize; 563CompressedSize = _compressedSize, 569compressedSizeTruncated = (uint)_compressedSize; 713byte[][] compressedBytes = new byte[(_compressedSize / maxSingleBufferSize) + 1][]; 718compressedBytes[compressedBytes.Length - 1] = new byte[_compressedSize % maxSingleBufferSize]; 740_archive.ArchiveStream.ReadAtLeast(_compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % maxSingleBufferSize), throwOnEndOfStream: true); 844Stream compressedStream = new SubReadStream(_archive.ArchiveStream, offsetOfCompressedData, _compressedSize); 967if (offsetOfCompressedData + _compressedSize > _archive.ArchiveStream.Length) 978if (_compressedSize > int.MaxValue) 991private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 1086CompressedSize = _compressedSize, 1094compressedSizeTruncated = (uint)_compressedSize; 1223if (_compressedSize != 0) 1225_archive.ArchiveStream.Seek(_compressedSize, SeekOrigin.Current); 1298compressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_compressedSize; 1345BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeCompressedSizeLocation..], _compressedSize); 1355BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeCompressedSizeLocation), _compressedSize); 1383BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.CompressedSize..], _compressedSize); 1390BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.CompressedSize..], (uint)_compressedSize);