Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update StreamReader.xml #9820

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions xml/System.IO/StreamReader.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@ Following a call to <xref:System.IO.StreamReader.Close%2A>, any operations on th
<summary>Reads the characters from the current stream into a span.</summary>
<returns>The number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the <paramref name="buffer" /> length, depending on whether the data is available within the stream.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.IO.IOException">The number of characters read from the stream is larger than the <paramref name="buffer" /> length.</exception>
<exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="buffer" /> is <see langword="null" />.</exception>
</Docs>
Expand Down Expand Up @@ -1987,7 +1987,7 @@ Following a call to <xref:System.IO.StreamReader.Close%2A>, any operations on th
<paramref name="buffer" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> or <paramref name="count" /> is negative.</exception>
<exception cref="T:System.IO.IOException">An I/O error occurs, such as the stream is closed.</exception>
<exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
<related type="Article" href="/dotnet/standard/io/">File and Stream I/O</related>
<related type="Article" href="/dotnet/standard/io/how-to-read-text-from-a-file">How to: Read Text from a File</related>
<related type="Article" href="/dotnet/standard/io/how-to-write-text-to-a-file">How to: Write Text to a File</related>
Expand Down Expand Up @@ -2179,7 +2179,7 @@ Following a call to <xref:System.IO.StreamReader.Close%2A>, any operations on th
<exception cref="T:System.ArgumentNullException">
<paramref name="buffer" /> is <see langword="null" />.</exception>
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.StreamReader" /> is closed.</exception>
<exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
<exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
</Docs>
</Member>
<Member MemberName="ReadBlock">
Expand Down Expand Up @@ -2251,7 +2251,7 @@ Following a call to <xref:System.IO.StreamReader.Close%2A>, any operations on th
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> or <paramref name="count" /> is negative.</exception>
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.StreamReader" /> is closed.</exception>
<exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
<exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
</Docs>
</Member>
<Member MemberName="ReadBlockAsync">
Expand Down