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