28 instantiations of GZipStream
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncoderCompressionHandler.cs (4)
30(Stream)new GZipStream(memoryStream, CompressionMode.Decompress) : 66(Stream)new GZipStream(bufferedOutStream, CompressionMode.Compress, true) : 82(Stream)new GZipStream(compressedStream, CompressionMode.Decompress, false) : 89(Stream)new GZipStream(uncompressedStream, CompressionMode.Compress, true) :
Microsoft.AspNetCore.Components.Endpoints (1)
Builder\ResourceCollectionUrlEndpoint.cs (1)
85using var gzipStream = new GZipStream(gzipContent, CompressionLevel.Optimal, leaveOpen: true);
Microsoft.AspNetCore.RequestDecompression (1)
GZipDecompressionProvider.cs (1)
16return new GZipStream(stream, CompressionMode.Decompress, leaveOpen: true);
Microsoft.AspNetCore.RequestDecompression.Tests (2)
RequestDecompressionMiddlewareTests.cs (2)
73new GZipStream(compressedContent, CompressionMode.Compress); 742return new GZipStream(stream, CompressionMode.Decompress);
Microsoft.AspNetCore.ResponseCompression (1)
GzipCompressionProvider.cs (1)
35=> new GZipStream(outputStream, Options.Level, leaveOpen: true);
Microsoft.AspNetCore.StaticAssets (1)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
107using var gzipStream = new GZipStream(stream, CompressionLevel.NoCompression, leaveOpen: true);
Microsoft.AspNetCore.StaticAssets.Tests (3)
StaticAssetsIntegrationTests.cs (3)
448using var gzipStream = new GZipStream(gzipContent, CompressionMode.Decompress); 461using var gzipStream = new GZipStream(stream, CompressionLevel.NoCompression, leaveOpen: true); 546using var gzipStream = new GZipStream(fileStream, CompressionLevel.Fastest);
Microsoft.Build (2)
Logging\BinaryLogger\BinaryLogger.cs (1)
222stream = new GZipStream(stream, CompressionLevel.Optimal);
Logging\BinaryLogger\BinaryLogReplayEventSource.cs (1)
139var gzipStream = new GZipStream(sourceFileStream, CompressionMode.Decompress, leaveOpen: false);
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
166using (var gzipStream = new GZipStream(stream, CompressionLevel.Optimal, leaveOpen: true))
Microsoft.DotNet.Build.Tasks.Installers (4)
src\CreateChangelogFile.cs (1)
40using GZipStream stream = new(File.OpenWrite(ChangelogOutputPath), CompressionLevel.Optimal);
src\RpmBuilder.cs (1)
358using (GZipStream gzipStream = new(compressedPayload, CompressionLevel.Optimal, leaveOpen: true))
src\RpmPackage.cs (2)
35using GZipStream gzipStream = new(stream, CompressionMode.Decompress, leaveOpen: true); 49using GZipStream gzipStream = new(stream, CompressionLevel.Optimal, leaveOpen: true);
Microsoft.DotNet.SignTool (2)
src\ZipData.cs (2)
360using GZipStream compressor = new(outputStream, CompressionMode.Compress); 368using GZipStream decompressor = new(streamToDecompress, CompressionMode.Decompress);
Microsoft.DotNet.Tar (2)
Program.cs (2)
29using var gzip = new GZipStream(srcStream, CompressionMode.Decompress); 36using var gzip = new GZipStream(dstStream, CompressionMode.Compress);
Microsoft.ML.FastTree (2)
Utils\CompressUtils.cs (2)
108using (var compressedStream = new GZipStream(ms, CompressionMode.Compress)) 119using (var decompressedStream = new GZipStream(ms, CompressionMode.Decompress))
ServerComparison.FunctionalTests (1)
ResponseCompressionTests.cs (1)
227using (var compressStream = new GZipStream(stream, CompressionMode.Decompress))
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (1)
216new GZipStream(originalStream, CompressionMode.Decompress);
33 references to GZipStream
Microsoft.AspNetCore.Components.Endpoints (1)
Builder\ResourceCollectionUrlEndpoint.cs (1)
85using var gzipStream = new GZipStream(gzipContent, CompressionLevel.Optimal, leaveOpen: true);
Microsoft.AspNetCore.RequestDecompression.Tests (2)
DefaultRequestDecompressionProviderTests.cs (2)
21[InlineData("gzip", typeof(GZipStream))] 22[InlineData("GZIP", typeof(GZipStream))]
Microsoft.AspNetCore.StaticAssets (1)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
107using var gzipStream = new GZipStream(stream, CompressionLevel.NoCompression, leaveOpen: true);
Microsoft.AspNetCore.StaticAssets.Tests (3)
StaticAssetsIntegrationTests.cs (3)
448using var gzipStream = new GZipStream(gzipContent, CompressionMode.Decompress); 461using var gzipStream = new GZipStream(stream, CompressionLevel.NoCompression, leaveOpen: true); 546using var gzipStream = new GZipStream(fileStream, CompressionLevel.Fastest);
Microsoft.Build (1)
Logging\BinaryLogger\BinaryLogReplayEventSource.cs (1)
139var gzipStream = new GZipStream(sourceFileStream, CompressionMode.Decompress, leaveOpen: false);
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (2)
78using var gzipStream = new GZipStream(stream, CompressionMode.Decompress, leaveOpen: true); 166using (var gzipStream = new GZipStream(stream, CompressionLevel.Optimal, leaveOpen: true))
Microsoft.DotNet.Build.Tasks.Installers (4)
src\CreateChangelogFile.cs (1)
40using GZipStream stream = new(File.OpenWrite(ChangelogOutputPath), CompressionLevel.Optimal);
src\RpmBuilder.cs (1)
358using (GZipStream gzipStream = new(compressedPayload, CompressionLevel.Optimal, leaveOpen: true))
src\RpmPackage.cs (2)
35using GZipStream gzipStream = new(stream, CompressionMode.Decompress, leaveOpen: true); 49using GZipStream gzipStream = new(stream, CompressionLevel.Optimal, leaveOpen: true);
Microsoft.DotNet.SignTool (2)
src\ZipData.cs (2)
360using GZipStream compressor = new(outputStream, CompressionMode.Compress); 368using GZipStream decompressor = new(streamToDecompress, CompressionMode.Decompress);
Microsoft.DotNet.Tar (2)
Program.cs (2)
29using var gzip = new GZipStream(srcStream, CompressionMode.Decompress); 36using var gzip = new GZipStream(dstStream, CompressionMode.Compress);
Microsoft.ML.FastTree (2)
Utils\CompressUtils.cs (2)
108using (var compressedStream = new GZipStream(ms, CompressionMode.Compress)) 119using (var decompressedStream = new GZipStream(ms, CompressionMode.Decompress))
netstandard (1)
netstandard.cs (1)
894[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.Compression.GZipStream))]
ServerComparison.FunctionalTests (1)
ResponseCompressionTests.cs (1)
227using (var compressStream = new GZipStream(stream, CompressionMode.Decompress))
System (1)
src\libraries\shims\System\ref\System.cs (1)
560[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.Compression.GZipStream))]
System.IO.Compression (10)
System\IO\Compression\GZipStream.cs (8)
36/// Initializes a new instance of the <see cref="GZipStream"/> class by using the specified stream, compression options, and optionally leaves the stream open. 40/// <param name="leaveOpen"><see langword="true" /> to leave the stream object open after disposing the <see cref="GZipStream"/> object; otherwise, <see langword="false" />.</param> 100if (GetType() != typeof(GZipStream)) 128if (GetType() != typeof(GZipStream)) 144if (GetType() != typeof(GZipStream)) 182if (GetType() != typeof(GZipStream)) 207if (GetType() != typeof(GZipStream)) 229if (GetType() != typeof(GZipStream))
System\IO\Compression\ZLibCompressionOptions.cs (2)
7/// Provides compression options to be used with <see cref="ZLibStream"/>, <see cref="DeflateStream"/> and <see cref="GZipStream"/>. 51/// Defines the compression algorithms that can be used for <see cref="DeflateStream"/>, <see cref="GZipStream"/> or <see cref="ZLibStream"/>.