34 references to CompressionMethodValues
System.IO.Compression (34)
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (3)
23
internal DeflateManagedStream(Stream stream, ZipArchiveEntry.
CompressionMethodValues
method, long uncompressedSize = -1)
30
Debug.Assert(method == ZipArchiveEntry.
CompressionMethodValues
.Deflate64);
32
_inflater = new InflaterManaged(method == ZipArchiveEntry.
CompressionMethodValues
.Deflate64, uncompressedSize);
System\IO\Compression\ZipArchiveEntry.cs (31)
27
private
CompressionMethodValues
_storedCompressionMethod;
62
CompressionMethod = (
CompressionMethodValues
)cd.CompressionMethod;
99
CompressionMethod =
CompressionMethodValues
.Stored;
116
CompressionMethod =
CompressionMethodValues
.Deflate;
429
if (CompressionMethod !=
CompressionMethodValues
.Stored)
431
CompressionMethod =
CompressionMethodValues
.Deflate;
439
private
CompressionMethodValues
CompressionMethod
444
if (value ==
CompressionMethodValues
.Deflate)
446
else if (value ==
CompressionMethodValues
.Deflate64)
633
Debug.Assert(CompressionMethod ==
CompressionMethodValues
.Deflate
634
|| CompressionMethod ==
CompressionMethodValues
.Stored);
640
case
CompressionMethodValues
.Stored:
644
case
CompressionMethodValues
.Deflate:
645
case
CompressionMethodValues
.Deflate64:
674
case
CompressionMethodValues
.Deflate:
677
case
CompressionMethodValues
.Deflate64:
678
uncompressedStream = new DeflateManagedStream(compressedStreamToRead,
CompressionMethodValues
.Deflate64, _uncompressedSize);
680
case
CompressionMethodValues
.Stored:
684
Debug.Assert(CompressionMethod ==
CompressionMethodValues
.Stored);
752
if (CompressionMethod !=
CompressionMethodValues
.Stored &&
753
CompressionMethod !=
CompressionMethodValues
.Deflate &&
754
CompressionMethod !=
CompressionMethodValues
.Deflate64)
758
case
CompressionMethodValues
.BZip2:
759
case
CompressionMethodValues
.LZMA:
814
private static CompressionLevel MapCompressionLevel(BitFlagValues generalPurposeBitFlag,
CompressionMethodValues
compressionMethod)
818
if (compressionMethod ==
CompressionMethodValues
.Deflate || compressionMethod ==
CompressionMethodValues
.Deflate64)
835
private static BitFlagValues MapDeflateCompressionOption(BitFlagValues generalPurposeBitFlag, CompressionLevel compressionLevel,
CompressionMethodValues
compressionMethod)
840
compressionMethod ==
CompressionMethodValues
.Deflate || compressionMethod ==
CompressionMethodValues
.Deflate64
878
CompressionMethod =
CompressionMethodValues
.Stored;