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; 804thisRef._uncompressedSize = currentPosition; 1180_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; 818uncompressedStream = new DeflateStream(compressedStreamToRead, CompressionMode.Decompress, _uncompressedSize); 821uncompressedStream = new DeflateManagedStream(compressedStreamToRead, ZipCompressionMethod.Deflate64, _uncompressedSize); 992private bool AreSizesTooLarge => _compressedSize > uint.MaxValue || _uncompressedSize > uint.MaxValue; 1056Debug.Assert(_uncompressedSize == 0); 1088UncompressedSize = _uncompressedSize, 1096uncompressedSizeTruncated = (uint)_uncompressedSize; 1196if (_uncompressedSize == 0) 1202WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: true); 1205if (_uncompressedSize != 0) 1220WriteLocalFileHeader(isEmptyFile: _uncompressedSize == 0, forceWrite: forceWrite); 1300uncompressedSizeTruncated = zip64Needed ? ZipHelper.Mask32Bit : (uint)_uncompressedSize; 1345BinaryPrimitives.WriteInt64LittleEndian(writeBuffer[relativeUncompressedSizeLocation..], _uncompressedSize); 1357BinaryPrimitives.WriteInt64LittleEndian(writeBuffer.Slice(relativeUncompressedSizeLocation), _uncompressedSize); 1385BinaryPrimitives.WriteInt64LittleEndian(dataDescriptor[ZipLocalFileHeader.Zip64DataDescriptor.FieldLocations.UncompressedSize..], _uncompressedSize); 1392BinaryPrimitives.WriteUInt32LittleEndian(dataDescriptor[ZipLocalFileHeader.ZipDataDescriptor.FieldLocations.UncompressedSize..], (uint)_uncompressedSize);