5 writes to _uncompressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
294_uncompressedSize = _storedUncompressedData.Length;
System\IO\Compression\ZipArchiveEntry.cs (4)
72_uncompressedSize = cd.UncompressedSize; 129_uncompressedSize = 0; 736thisRef._uncompressedSize = currentPosition; 1103_uncompressedSize = _storedUncompressedData.Length;
24 references to _uncompressedSize
System.IO.Compression (24)
System\IO\Compression\ZipArchiveEntry.Async.cs (5)
64_storedUncompressedData = new MemoryStream((int)_uncompressedSize); 309if (_uncompressedSize == 0) 315await WriteLocalFileHeaderAsync(isEmptyFile: _uncompressedSize == 0, forceWrite: true, cancellationToken).ConfigureAwait(false); 318if (_uncompressedSize != 0) 333await WriteLocalFileHeaderAsync(isEmptyFile: _uncompressedSize == 0, forceWrite: forceWrite, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (19)
302return _uncompressedSize; 415_storedUncompressedData = new MemoryStream((int)_uncompressedSize); 506UncompressedSize = _uncompressedSize 512uncompressedSizeTruncated = (uint)_uncompressedSize; 750uncompressedStream = new DeflateStream(compressedStreamToRead, CompressionMode.Decompress, _uncompressedSize); 753uncompressedStream = new DeflateManagedStream(compressedStreamToRead, CompressionMethodValues.Deflate64, _uncompressedSize); 914private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 979Debug.Assert(_uncompressedSize == 0); 1011UncompressedSize = _uncompressedSize, 1019uncompressedSizeTruncated = (uint)_uncompressedSize; 1119if (_uncompressedSize == 0) 1125WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: true); 1128if (_uncompressedSize != 0) 1143WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: forceWrite); 1223uncompressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_uncompressedSize; 1268BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeUncompressedSizeLocation..], _uncompressedSize); 1280BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeUncompressedSizeLocation), _uncompressedSize); 1308BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.UncompressedSize..], _uncompressedSize); 1315BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.UncompressedSize..], (uint)_uncompressedSize);