Skip to content

Commit 963bf8e

Browse files
Apply suggestions from code review
Co-authored-by: Genevieve Warren <[email protected]>
1 parent 424c7cb commit 963bf8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Net.Sockets/NetworkStream.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ The Close method frees both unmanaged and managed resources associated with the
11071107
<Docs>
11081108
<param name="asyncResult">An <see cref="T:System.IAsyncResult" /> that represents an asynchronous call.</param>
11091109
<summary>Handles the end of an asynchronous read.</summary>
1110-
<returns>The number of bytes read from the <see cref="T:System.Net.Sockets.NetworkStream" />, between zero (0) and the number of bytes requested. The method returns zero (0) only if zero bytes were requested or if no more bytes are available because the peer socket performed a graceful shutdown. If zero bytes are requested, read operations may complete immediately or may not complete until at least one byte is available (but without consuming any data).</returns>
1110+
<returns>The number of bytes read from the <see cref="T:System.Net.Sockets.NetworkStream" />, between zero (0) and the number of bytes requested. The method returns zero (0) only if zero bytes were requested or if no more bytes are available because the peer socket performed a graceful shutdown. If zero bytes are requested, read operations might complete immediately or might not complete until at least one byte is available (but without consuming any data).</returns>
11111111
<remarks>
11121112
<format type="text/markdown"><![CDATA[
11131113
@@ -1466,7 +1466,7 @@ The Close method frees both unmanaged and managed resources associated with the
14661466
<Docs>
14671467
<param name="buffer">A region of memory to store data read from the <see cref="T:System.Net.Sockets.NetworkStream" />.</param>
14681468
<summary>Reads data from the <see cref="T:System.Net.Sockets.NetworkStream" /> and stores it to a span of bytes in memory.</summary>
1469-
<returns>The total number of bytes read into the buffer between zero (0) and the length of the buffer. The method returns zero (0) only if zero bytes were requested or if no more bytes are available because the peer socket performed a graceful shutdown.</returns>
1469+
<returns>The total number of bytes read into the buffer, between zero (0) and the length of the buffer. The method returns zero (0) only if zero bytes were requested or if no more bytes are available because the peer socket performed a graceful shutdown.</returns>
14701470
<remarks>
14711471
<format type="text/markdown"><![CDATA[
14721472

0 commit comments

Comments
 (0)