16 references to Compress
System (6)
sys\System\IO\compression\DeflateStream.cs (6)
71
if (CompressionMode.
Compress
!= mode && CompressionMode.Decompress != mode)
91
case CompressionMode.
Compress
:
130
_mode = CompressionMode.
Compress
;
267
return (_mode == CompressionMode.
Compress
&& _stream.CanWrite);
371
if( _mode != CompressionMode.
Compress
)
568
if (_mode != CompressionMode.
Compress
)
System.IdentityModel (1)
System\IdentityModel\DeflateCookieTransform.cs (1)
102
using ( DeflateStream deflateStream = new DeflateStream( compressedStream, CompressionMode.
Compress
, true ) )
System.ServiceModel (4)
System\ServiceModel\Channels\MessageEncoderCompressionHandler.cs (4)
65
(Stream)new GZipStream(bufferedOutStream, CompressionMode.
Compress
, true) :
66
(Stream)new DeflateStream(bufferedOutStream, CompressionMode.
Compress
, true))
88
(Stream)new GZipStream(uncompressedStream, CompressionMode.
Compress
, true) :
89
(Stream)new DeflateStream(uncompressedStream, CompressionMode.
Compress
, true);
System.Web (1)
State\SessionStateUtil.cs (1)
197
using(DeflateStream zipStream = new DeflateStream(s, CompressionMode.
Compress
, true)) {
System.Web.Extensions (1)
Handlers\ScriptResourceHandler.cs (1)
515
using (Stream outputStream = new GZipStream(zipped, CompressionMode.
Compress
)) {
System.Workflow.Runtime (1)
Hosting\WorkflowPersistenceService.cs (1)
59
using (GZipStream gzs = new GZipStream(compressedStream, CompressionMode.
Compress
, true))
WindowsBase (2)
Base\MS\Internal\IO\Packaging\CompressStream.cs (1)
711
newMode == Mode.WritePassThrough ? CompressionMode.
Compress
: CompressionMode.Decompress,
Base\MS\Internal\IO\Packaging\DeflateEmulationStream.cs (1)
68
CompressionMode.
Compress
, // compress or decompress