5 writes to CompressionMethod
System.IO.Compression (5)
System\IO\Compression\ZipArchiveEntry.cs (5)
62
CompressionMethod
= (CompressionMethodValues)cd.CompressionMethod;
99
CompressionMethod
= CompressionMethodValues.Stored;
116
CompressionMethod
= CompressionMethodValues.Deflate;
431
CompressionMethod
= CompressionMethodValues.Deflate;
878
CompressionMethod
= CompressionMethodValues.Stored;
16 references to CompressionMethod
System.IO.Compression (16)
System\IO\Compression\ZipArchiveEntry.cs (16)
89
_compressionLevel = MapCompressionLevel(_generalPurposeBitFlag,
CompressionMethod
);
101
_generalPurposeBitFlag = MapDeflateCompressionOption(_generalPurposeBitFlag, _compressionLevel,
CompressionMethod
);
117
_generalPurposeBitFlag = MapDeflateCompressionOption(0, _compressionLevel,
CompressionMethod
);
429
if (
CompressionMethod
!= CompressionMethodValues.Stored)
544
writer.Write((ushort)
CompressionMethod
); // The Compression method (2 bytes)
633
Debug.Assert(
CompressionMethod
== CompressionMethodValues.Deflate
634
||
CompressionMethod
== CompressionMethodValues.Stored);
638
switch (
CompressionMethod
)
672
switch (
CompressionMethod
)
684
Debug.Assert(
CompressionMethod
== CompressionMethodValues.Stored);
752
if (
CompressionMethod
!= CompressionMethodValues.Stored &&
753
CompressionMethod
!= CompressionMethodValues.Deflate &&
754
CompressionMethod
!= CompressionMethodValues.Deflate64)
756
switch (
CompressionMethod
)
760
message = SR.Format(SR.UnsupportedCompressionMethod,
CompressionMethod
.ToString());
945
writer.Write((ushort)
CompressionMethod
);