Skip to content

Commit 126f205

Browse files
authored
Merge pull request dotnet#2059 from breyed/patch-5
Document that StreamWriter.Dispose flushes
2 parents f1c3d2a + a673533 commit 126f205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.IO/StreamWriter.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@
959959
<Docs>
960960
<param name="disposing">
961961
<see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
962-
<summary>Releases the unmanaged resources used by the <see cref="T:System.IO.StreamWriter" /> and optionally releases the managed resources.</summary>
962+
<summary>Causes any buffered data to be written to the underlying stream, releases the unmanaged resources used by the <see cref="T:System.IO.StreamWriter" />, and optionally the managed resources.</summary>
963963
<remarks>
964964
<format type="text/markdown"><![CDATA[
965965
@@ -2208,4 +2208,4 @@ For a list of common I/O tasks, see [Common I/O Tasks](~/docs/standard/io/common
22082208
</Docs>
22092209
</Member>
22102210
</Members>
2211-
</Type>
2211+
</Type>

0 commit comments

Comments
 (0)