Skip to content

Commit 7faab99

Browse files
authored
Fix DeflateStream.Flush() summary: method is not a no-op when compressing (#12756)
1 parent fd8448f commit 7faab99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

xml/System.IO.Compression/DeflateStream.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,11 +1102,11 @@ The end write call is invalid.</exception>
11021102
</ReturnValue>
11031103
<Parameters />
11041104
<Docs>
1105-
<summary>The current implementation of this method has no functionality.</summary>
1105+
<summary>Flushes the internal buffer to the underlying stream.</summary>
11061106
<remarks>
11071107
<format type="text/markdown"><![CDATA[
11081108
1109-
Flushes the internal buffer if the compression mode is set to <xref:System.IO.Compression.CompressionMode.Compress>.
1109+
If the compression mode is set to <xref:System.IO.Compression.CompressionMode.Compress>, this method flushes the internal buffer to the underlying stream. If the compression mode is set to <xref:System.IO.Compression.CompressionMode.Decompress>, this method has no effect.
11101110
11111111
]]></format>
11121112
</remarks>

0 commit comments

Comments
 (0)