You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<paramname="buffer">When this method returns, contains the characters read from the current source. If the total number of characters read is zero, the span remains unmodified.</param>
465
+
<summary>Reads all the characters from the input string, starting at the current position, and advances the current position to the end of the input string.</summary>
466
+
<returns>The total number of characters read into the buffer.</returns>
467
467
<remarks>To be added.</remarks>
468
+
<exceptioncref="T:System.ObjectDisposedException">The current string reader instance is closed.</exception>
468
469
</Docs>
469
470
</Member>
470
471
<MemberMemberName="Read">
@@ -577,10 +578,10 @@ This implementation of `Close` calls the <xref:System.IO.StringReader.Dispose%2A
<paramname="cancellationToken">To be added.</param>
582
-
<summary>To be added.</summary>
583
-
<returns>To be added.</returns>
581
+
<paramname="buffer">When this method returns, contains the characters read from the current source.</param>
582
+
<paramname="cancellationToken">The token to monitor for cancellation requests. The default value is <seecref="P:System.Threading.CancellationToken.None" />.</param>
583
+
<summary>Asynchronously reads all the characters from the input string, starting at the current position, and advances the current position to the end of the input string.</summary>
584
+
<returns>A task that represents the asynchronous read operation. The value of the <paramrefname="TResult" /> parameter contains the total number of characters read into the buffer.</returns>
584
585
<remarks>To be added.</remarks>
585
586
</Docs>
586
587
</Member>
@@ -686,10 +687,19 @@ This implementation of `Close` calls the <xref:System.IO.StringReader.Dispose%2A
<paramname="buffer">When this method returns, contains the characters read from the current source. If the total number of characters read is zero, the span remains unmodified.</param>
691
+
<summary>Reads all the characters from the input string starting at the current position and advances the current position to the end of the input string.</summary>
692
+
<returns>The total number of characters read into the buffer.</returns>
<paramname="cancellationToken">To be added.</param>
725
-
<summary>To be added.</summary>
726
-
<returns>To be added.</returns>
727
-
<remarks>To be added.</remarks>
733
+
<paramname="buffer">When this method returns, contains the characters read from the current source. If the total number of characters read is zero, the span remains unmodified.</param>
734
+
<paramname="cancellationToken">The token to monitor for cancellation requests. The default value is <seecref="P:System.Threading.CancellationToken.None" />.</param>
735
+
<summary>Asynchronously reads all the characters from the input string starting at the current position and advances the current position to the end of the input string.</summary>
736
+
<returns>A task representing the asynchronous read operation. The value of the <paramrefname="TResult" /> parameter contains the total number of characters read into the buffer.</returns>
737
+
<remarks>
738
+
<formattype="text/markdown">
739
+
<![CDATA[
740
+
741
+
## Remarks
742
+
743
+
<xref:System.IO.StringReader.ReadBlockAsync(System.Memory{System.Char},System.Threading.CancellationToken)> calls <xref:System.IO.StringReader.ReadBlock(System.Span{System.Char})> asynchronously, which in turn calls <xref:System.IO.StringReader.Read(System.Span{System.Char})> directly.
0 commit comments