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