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; 746thisRef._uncompressedSize = currentPosition; 1112_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; 760uncompressedStream = new DeflateStream(compressedStreamToRead, CompressionMode.Decompress, _uncompressedSize); 763uncompressedStream = new DeflateManagedStream(compressedStreamToRead, CompressionMethodValues.Deflate64, _uncompressedSize); 924private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 988Debug.Assert(_uncompressedSize == 0); 1020UncompressedSize = _uncompressedSize, 1028uncompressedSizeTruncated = (uint)_uncompressedSize; 1128if (_uncompressedSize == 0) 1134WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: true); 1137if (_uncompressedSize != 0) 1152WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: forceWrite); 1232uncompressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_uncompressedSize; 1277BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeUncompressedSizeLocation..], _uncompressedSize); 1289BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeUncompressedSizeLocation), _uncompressedSize); 1317BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.UncompressedSize..], _uncompressedSize); 1324BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.UncompressedSize..], (uint)_uncompressedSize);