From ef731918f009e5c948fb5ac3bc2a5a4e0fdc5a4b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Jun 2026 15:35:10 +0000 Subject: [PATCH 1/2] Initial plan From a491b53fc9959c7038ea324ac68dc1effe7be9a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Jun 2026 15:37:55 +0000 Subject: [PATCH 2/2] Remove outdated DeflateStream 4 GB limit remarks --- .../DeflateStream/.ctor_Stream_CompressionMode.md | 2 -- xml/System.IO.Compression/DeflateStream.xml | 2 -- 2 files changed, 4 deletions(-) diff --git a/includes/remarks/System.IO.Compression/DeflateStream/.ctor_Stream_CompressionMode.md b/includes/remarks/System.IO.Compression/DeflateStream/.ctor_Stream_CompressionMode.md index 6144d6c5bda..766ba4c57e1 100644 --- a/includes/remarks/System.IO.Compression/DeflateStream/.ctor_Stream_CompressionMode.md +++ b/includes/remarks/System.IO.Compression/DeflateStream/.ctor_Stream_CompressionMode.md @@ -2,8 +2,6 @@ By default, owns the underlying strea If an instance of the class is created with the `mode` parameter equal to `Compress`, header information is inserted immediately. If no further action occurs, the stream appears as a valid, empty, compressed file. -Using the class to compress a file larger than 4 GB raises an exception. - By default, the compression level is set to when the compression mode is . ## Examples diff --git a/xml/System.IO.Compression/DeflateStream.xml b/xml/System.IO.Compression/DeflateStream.xml index b260a49a1c7..45ab2fbf263 100644 --- a/xml/System.IO.Compression/DeflateStream.xml +++ b/xml/System.IO.Compression/DeflateStream.xml @@ -88,8 +88,6 @@ The following example shows how to use the class to compress a file larger than 4 GB will cause an exception. - ]]>