Skip to content

Commit 5ed4fd1

Browse files
author
Ron Petrusha
authored
Update Utf8JsonWriter.xml
1 parent 33f597f commit 5ed4fd1

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

xml/System.Text.Json/Utf8JsonWriter.xml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2903,8 +2903,8 @@ The property name is escaped before writing.
29032903
]]>
29042904
</format>
29052905
</remarks>
2906-
<exception cref="T:System.ArgumentException">Thrown when the specified property name is too large.</exception>
2907-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
2906+
<exception cref="T:System.ArgumentException">The specified property name is too large.</exception>
2907+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
29082908
</Docs>
29092909
</Member>
29102910
<Member MemberName="WriteString">
@@ -3147,8 +3147,8 @@ The property name is escaped before writing.
31473147
]]>
31483148
</format>
31493149
</remarks>
3150-
<exception cref="T:System.ArgumentException">Thrown when the specified property name is too large.</exception>
3151-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3150+
<exception cref="T:System.ArgumentException">The specified property name is too large.</exception>
3151+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
31523152
</Docs>
31533153
</Member>
31543154
<Member MemberName="WriteString">
@@ -3391,8 +3391,8 @@ The property name is escaped before writing.
33913391
]]>
33923392
</format>
33933393
</remarks>
3394-
<exception cref="T:System.ArgumentException">Thrown when the specified property name is too large.</exception>
3395-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3394+
<exception cref="T:System.ArgumentException">The specified property name is too large.</exception>
3395+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
33963396
</Docs>
33973397
</Member>
33983398
<Member MemberName="WriteString">
@@ -3431,7 +3431,7 @@ The property name should already be escaped when the instance of <xref:System.Te
34313431
]]>
34323432
</format>
34333433
</remarks>
3434-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3434+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
34353435
</Docs>
34363436
</Member>
34373437
<Member MemberName="WriteString">
@@ -3470,7 +3470,7 @@ The property name should already be escaped when the instance of <xref:System.Te
34703470
]]>
34713471
</format>
34723472
</remarks>
3473-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3473+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
34743474
</Docs>
34753475
</Member>
34763476
<Member MemberName="WriteString">
@@ -3509,7 +3509,7 @@ The property name should already be escaped when the instance of <xref:System.Te
35093509
]]>
35103510
</format>
35113511
</remarks>
3512-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3512+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
35133513
</Docs>
35143514
</Member>
35153515
<Member MemberName="WriteString">
@@ -3548,8 +3548,8 @@ The value is escaped before writing.
35483548
]]>
35493549
</format>
35503550
</remarks>
3551-
<exception cref="T:System.ArgumentException">Thrown when the specified value is too large.</exception>
3552-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3551+
<exception cref="T:System.ArgumentException">The specified value is too large.</exception>
3552+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
35533553
</Docs>
35543554
</Member>
35553555
<Member MemberName="WriteString">
@@ -3588,8 +3588,8 @@ The value is escaped before writing.
35883588
]]>
35893589
</format>
35903590
</remarks>
3591-
<exception cref="T:System.ArgumentException">Thrown when the specified value is too large.</exception>
3592-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3591+
<exception cref="T:System.ArgumentException">The specified value is too large.</exception>
3592+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
35933593
</Docs>
35943594
</Member>
35953595
<Member MemberName="WriteString">
@@ -3628,8 +3628,8 @@ The value is escaped before writing.
36283628
]]>
36293629
</format>
36303630
</remarks>
3631-
<exception cref="T:System.ArgumentException">Thrown when the specified value is too large.</exception>
3632-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3631+
<exception cref="T:System.ArgumentException">The specified value is too large.</exception>
3632+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
36333633
</Docs>
36343634
</Member>
36353635
<Member MemberName="WriteString">
@@ -3666,7 +3666,7 @@ The property name and value should already be escaped when the instance of <xref
36663666
]]>
36673667
</format>
36683668
</remarks>
3669-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3669+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
36703670
</Docs>
36713671
</Member>
36723672
<Member MemberName="WriteStringValue">
@@ -3890,7 +3890,7 @@ The value should already be escaped when the instance of <xref:System.Text.Json.
38903890
]]>
38913891
</format>
38923892
</remarks>
3893-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
3893+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and the write operation would produce invalid JSON.</exception>
38943894
</Docs>
38953895
</Member>
38963896
</Members>

0 commit comments

Comments
 (0)