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