5 writes to _uncompressedSize
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
359_uncompressedSize = _storedUncompressedData.Length;
System\IO\Compression\ZipArchiveEntry.cs (4)
72_uncompressedSize = cd.UncompressedSize; 129_uncompressedSize = 0; 803thisRef._uncompressedSize = currentPosition; 1179_uncompressedSize = _storedUncompressedData.Length;
24 references to _uncompressedSize
System.IO.Compression (24)
System\IO\Compression\ZipArchiveEntry.Async.cs (5)
120_storedUncompressedData = new MemoryStream((int)_uncompressedSize); 374if (_uncompressedSize == 0) 380await WriteLocalFileHeaderAsync(isEmptyFile: _uncompressedSize == 0, forceWrite: true, cancellationToken).ConfigureAwait(false); 383if (_uncompressedSize != 0) 398await WriteLocalFileHeaderAsync(isEmptyFile: _uncompressedSize == 0, forceWrite: forceWrite, cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipArchiveEntry.cs (19)
318return _uncompressedSize; 485_storedUncompressedData = new MemoryStream((int)_uncompressedSize); 564UncompressedSize = _uncompressedSize 570uncompressedSizeTruncated = (uint)_uncompressedSize; 817uncompressedStream = new DeflateStream(compressedStreamToRead, CompressionMode.Decompress, _uncompressedSize); 820uncompressedStream = new DeflateManagedStream(compressedStreamToRead, ZipCompressionMethod.Deflate64, _uncompressedSize); 991private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 1055Debug.Assert(_uncompressedSize == 0); 1087UncompressedSize = _uncompressedSize, 1095uncompressedSizeTruncated = (uint)_uncompressedSize; 1195if (_uncompressedSize == 0) 1201WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: true); 1204if (_uncompressedSize != 0) 1219WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: forceWrite); 1299uncompressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_uncompressedSize; 1344BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeUncompressedSizeLocation..], _uncompressedSize); 1356BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeUncompressedSizeLocation), _uncompressedSize); 1384BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.UncompressedSize..], _uncompressedSize); 1391BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.UncompressedSize..], (uint)_uncompressedSize);