Skip to content

Commit e9e6b8f

Browse files
Copilotgewarren
andcommitted
Fix xref encoding for FileStream.Flush method reference
Co-authored-by: gewarren <[email protected]>
1 parent 70f67c4 commit e9e6b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.IO/FileStream.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2870,7 +2870,7 @@ Calling `DisposeAsync` allows the resources used by the <xref:System.IO.FileStre
28702870
<format type="text/markdown"><![CDATA[
28712871
28722872
## Remarks
2873-
This method flushes the .NET stream buffers to the file, but does not flush intermediate file buffers in the operating system. To ensure that all buffered data is written to the underlying storage device, use the <xref:System.IO.FileStream.Flush(System.Boolean)> method with the `flushToDisk` parameter set to `true`.
2873+
This method flushes the .NET stream buffers to the file, but does not flush intermediate file buffers in the operating system. To ensure that all buffered data is written to the underlying storage device, use the <xref:System.IO.FileStream.Flush%28System.Boolean%29> method with the `flushToDisk` parameter set to `true`.
28742874
28752875
If the operation is canceled before it completes, the returned task contains the <xref:System.Threading.Tasks.TaskStatus.Canceled> value for the <xref:System.Threading.Tasks.Task.Status%2A> property. If the handle to the file is disposed, the returned task contains the <xref:System.ObjectDisposedException> exception in the <xref:System.Threading.Tasks.Task.Exception%2A> property.
28762876

0 commit comments

Comments
 (0)