Skip to content

Commit eef0826

Browse files
author
Ron Petrusha
authored
Update Utf8JsonReader.xml
1 parent e3c89a9 commit eef0826

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

xml/System.Text.Json/Utf8JsonReader.xml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,19 @@ in more data asynchronously before continuing with a new instance of the <xref:S
240240
</ReturnValue>
241241
<Parameters />
242242
<Docs>
243-
<summary>Parses the current JSON token value from the source and decodes the base 64 encoded JSON string as bytes.</summary>
244-
<returns>To be added.</returns>
243+
<summary>Parses the current JSON token value from the source and decodes the base 64 encoded JSON string as a byte array.</summary>
244+
<returns>The byte array that represents the current JSON token value.</returns>
245245
<remarks>To be added.</remarks>
246-
<exception cref="T:System.InvalidOperationException">Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.String" />. <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />.</exception>
247-
<exception cref="T:System.FormatException">Thrown when the JSON string contains data outside of the expected base 64 range, or if it contains invalid/more than two padding characters, or is incomplete (i.e. the JSON string length is not a multiple of 4).</exception>
246+
<exception cref="T:System.InvalidOperationException">The type of the JSON token is not a <see cref="F:System.Text.Json.JsonTokenType.String" />.</exception>
247+
<exception cref="T:System.FormatException">The JSON string contains data outside of the expected base 64 range.
248+
249+
- or -
250+
251+
The JSON string contains invalid padding characters or more than two padding characters.
252+
253+
- or -
254+
255+
The JSON string is incomplete; that is, the JSON string length is not a multiple of 4.</exception>
248256
</Docs>
249257
</Member>
250258
<Member MemberName="GetComment">
@@ -264,10 +272,10 @@ in more data asynchronously before continuing with a new instance of the <xref:S
264272
</ReturnValue>
265273
<Parameters />
266274
<Docs>
267-
<summary>Parses the current JSON token value from the source as a comment, transcoded as a <see cref="T:System.String" />.</summary>
268-
<returns>To be added.</returns>
275+
<summary>Parses the current JSON token value from the source as a comment, transcoded it as a <see cref="T:System.String" />.</summary>
276+
<returns>The comment that represnets the current JSON token value.</returns>
269277
<remarks>To be added.</remarks>
270-
<exception cref="T:System.InvalidOperationException">Thrown if trying to get the value of the JSON token that is not a comment. <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />.</exception>
278+
<exception cref="T:System.InvalidOperationException">The JSON token that is not a comment.</exception>
271279
</Docs>
272280
</Member>
273281
<Member MemberName="GetDateTime">
@@ -1299,4 +1307,4 @@ Otherwise, the token value must be accessed from <xref:System.Text.Json.Utf8Json
12991307
</Docs>
13001308
</Member>
13011309
</Members>
1302-
</Type>
1310+
</Type>

0 commit comments

Comments
 (0)