5 writes to _uncompressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
365_uncompressedSize = _storedUncompressedData.Length;
System\IO\Compression\ZipArchiveEntry.cs (4)
72_uncompressedSize = cd.UncompressedSize; 129_uncompressedSize = 0; 802thisRef._uncompressedSize = currentPosition; 1205_uncompressedSize = _storedUncompressedData.Length;
24 references to _uncompressedSize
System.IO.Compression (24)
System\IO\Compression\ZipArchiveEntry.Async.cs (5)
120_storedUncompressedData = new MemoryStream((int)_uncompressedSize); 380if (_uncompressedSize == 0) 386await WriteLocalFileHeaderAsync(isEmptyFile: _uncompressedSize == 0, forceWrite: true, cancellationToken).ConfigureAwait(false); 389if (_uncompressedSize != 0) 404await WriteLocalFileHeaderAsync(isEmptyFile: _uncompressedSize == 0, forceWrite: forceWrite, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (19)
318return _uncompressedSize; 485_storedUncompressedData = new MemoryStream((int)_uncompressedSize); 563UncompressedSize = _uncompressedSize 569uncompressedSizeTruncated = (uint)_uncompressedSize; 816uncompressedStream = new DeflateStream(compressedStreamToRead, CompressionMode.Decompress, _uncompressedSize); 819uncompressedStream = new DeflateManagedStream(compressedStreamToRead, ZipCompressionMethod.Deflate64, _uncompressedSize); 1005private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 1069Debug.Assert(_uncompressedSize == 0); 1101UncompressedSize = _uncompressedSize, 1109uncompressedSizeTruncated = (uint)_uncompressedSize; 1221if (_uncompressedSize == 0) 1227WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: true); 1230if (_uncompressedSize != 0) 1245WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: forceWrite); 1325uncompressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_uncompressedSize; 1370BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeUncompressedSizeLocation..], _uncompressedSize); 1382BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeUncompressedSizeLocation), _uncompressedSize); 1410BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.UncompressedSize..], _uncompressedSize); 1417BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.UncompressedSize..], (uint)_uncompressedSize);