Skip to content

Commit eee8886

Browse files
author
Ron Petrusha
authored
Update Utf8JsonWriter.xml
1 parent 53d7a14 commit eee8886

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

xml/System.Text.Json/Utf8JsonWriter.xml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ The property name is escaped before writing.
443443
]]>
444444
</format>
445445
</remarks>
446-
<exception cref="T:System.ArgumentException">Thrown when the specified property name is too large.</exception>
447-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
446+
<exception cref="T:System.ArgumentException">The specified property name is too large.</exception>
447+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
448448
</Docs>
449449
</Member>
450450
<Member MemberName="WriteBase64String">
@@ -481,8 +481,8 @@ The property name is escaped before writing.
481481
]]>
482482
</format>
483483
</remarks>
484-
<exception cref="T:System.ArgumentException">Thrown when the specified property name is too large.</exception>
485-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
484+
<exception cref="T:System.ArgumentException">The specified property name is too large.</exception>
485+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
486486
</Docs>
487487
</Member>
488488
<Member MemberName="WriteBase64String">
@@ -519,8 +519,9 @@ The property name is escaped before writing.
519519
]]>
520520
</format>
521521
</remarks>
522-
<exception cref="T:System.ArgumentException">Thrown when the specified property name is too large.</exception>
523-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
522+
<exception cref="T:System.ArgumentException">
523+
when the specified property name is too large.</exception>
524+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
524525
</Docs>
525526
</Member>
526527
<Member MemberName="WriteBase64String">
@@ -557,7 +558,7 @@ The property name should already be escaped when the instance of <xref:System.Te
557558
]]>
558559
</format>
559560
</remarks>
560-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
561+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
561562
</Docs>
562563
</Member>
563564
<Member MemberName="WriteBase64StringValue">
@@ -592,8 +593,8 @@ The bytes are encoded before writing.
592593
]]>
593594
</format>
594595
</remarks>
595-
<exception cref="T:System.ArgumentException">Thrown when the specified value is too large.</exception>
596-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
596+
<exception cref="T:System.ArgumentException">The specified value is too large.</exception>
597+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
597598
</Docs>
598599
</Member>
599600
<Member MemberName="WriteBoolean">
@@ -732,7 +733,7 @@ The property name should already be escaped when the instance of <xref:System.Te
732733
]]>
733734
</format>
734735
</remarks>
735-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
736+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
736737
</Docs>
737738
</Member>
738739
<Member MemberName="WriteBooleanValue">
@@ -1037,7 +1038,7 @@ The property name should already be escaped when the instance of <xref:System.Te
10371038
]]>
10381039
</format>
10391040
</remarks>
1040-
<exception cref="T:System.InvalidOperationException">Thrown if this would result in an invalid JSON to be written (while validation is enabled).</exception>
1041+
<exception cref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
10411042
</Docs>
10421043
</Member>
10431044
<Member MemberName="WriteNullValue">
@@ -3885,4 +3886,4 @@ The value should already be escaped when the instance of <xref:System.Text.Json.
38853886
</Docs>
38863887
</Member>
38873888
</Members>
3888-
</Type>
3889+
</Type>

0 commit comments

Comments
 (0)