Skip to content

Commit c7324df

Browse files
author
Ron Petrusha
authored
Fixed bad references to JsonReaderException (#2856)
1 parent a758205 commit c7324df

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

xml/System.Text.Json/JsonCommentHandling.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</ReturnValue>
5555
<MemberValue>0</MemberValue>
5656
<Docs>
57-
<summary>Doesn't allow comments within the JSON input. Comments are treated as invalid JSON if found, and a <see cref="T:System.Text.Json.JsonReaderException" /> is thrown. This is the default value.</summary>
57+
<summary>Doesn't allow comments within the JSON input. Comments are treated as invalid JSON if found, and a <see cref="T:System.Text.Json.JsonException" /> is thrown. This is the default value.</summary>
5858
</Docs>
5959
</Member>
6060
<Member MemberName="Skip">

xml/System.Text.Json/JsonReaderOptions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ By default, this property is set to `false`, and a <xref:System.Text.Json.JsonEx
8282
8383
## Remarks
8484
85-
By default, the reader throws a <xref:System.Text.Json.JsonReaderException> if it encounters a comment.
85+
By default, the reader throws a <xref:System.Text.Json.JsonException> if it encounters a comment.
8686
8787
]]></format>
8888
</remarks>

xml/System.Text.Json/Utf8JsonReader.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
2929
`Utf8JsonReader` processes the text sequentially with no caching and by default adheres strictly to the [JSON RFC](https://tools.ietf.org/html/rfc8259).
3030
31-
When `Utf8JsonReader` encounters invalid JSON, it throws a <xref:System.Text.Json.JsonReaderException> with basic error information like line number and byte position on the line.
31+
When `Utf8JsonReader` encounters invalid JSON, it throws a <xref:System.Text.Json.JsonException> with basic error information like line number and byte position on the line.
3232
3333
Since this type is a ref struct, it doesn't directly support async. However, it does provide support for reentrancy to read incomplete data and to continue reading once more data is presented.
3434

0 commit comments

Comments
 (0)