Skip to content

Commit 771baa4

Browse files
suggestions by ahsonkhan
Co-Authored-By: Ahson Khan <[email protected]>
1 parent dddb507 commit 771baa4

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

xml/System.Text.Json.Serialization/JsonAttribute.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</AssemblyInfo>
3232
<Parameters />
3333
<Docs>
34-
<summary>Creates a new instance of the <see cref="T:System.Text.Json.Serialization.JsonAttribute" /> instance.</summary>
34+
<summary>Creates a new instance of the <see cref="T:System.Text.Json.Serialization.JsonAttribute" />.</summary>
3535
<remarks>To be added.</remarks>
3636
</Docs>
3737
</Member>

xml/System.Text.Json.Serialization/JsonExtensionDataAttribute.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</Attribute>
2020
</Attributes>
2121
<Docs>
22-
<summary>When placed on a property of type <see cref="T:System.Collections.Generic.IDictionary`2" />, provides that any properties that do not have a matching member are added to that dictionary during deserialization and written during serialization.</summary>
22+
<summary>When placed on a property of type <see cref="T:System.Collections.Generic.IDictionary`2" />, any properties that do not have a matching member are added to that dictionary during deserialization and written during serialization.</summary>
2323
<remarks>
2424
<format type="text/markdown">
2525
<![CDATA[
@@ -32,7 +32,7 @@ During deserialization, when using <xref:System.Object>, a "null" JSON value is
3232
3333
During serialization, the name of the extension data property is not included in the JSON; the data contained within the extension data is serialized as properties of the JSON object.
3434
35-
If there is more than one extension property on a type, or it the property is not of the correct type, an <xref:System.InvalidOperationException> is thrown during the first serialization or deserialization of that type.
35+
If there is more than one property on a type with this extension data attribute, or if the property itself is not of the correct <see cref="T:System.Collections.Generic.IDictionary`2" /> type, an <xref:System.InvalidOperationException> is thrown during the first serialization or deserialization of that type.
3636
3737
]]>
3838
</format>

xml/System.Text.Json/JsonTokenType.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</ReturnValue>
3535
<MemberValue>11</MemberValue>
3636
<Docs>
37-
<summary>The token type is the comment string.</summary>
37+
<summary>The token type is a comment string.</summary>
3838
</Docs>
3939
</Member>
4040
<Member MemberName="EndArray">
@@ -94,7 +94,7 @@
9494
</ReturnValue>
9595
<MemberValue>9</MemberValue>
9696
<Docs>
97-
<summary>The token type is the JSON literal <see langword="false" />.</summary>
97+
<summary>The token type is the JSON literal "false".</summary>
9898
</Docs>
9999
</Member>
100100
<Member MemberName="None">
@@ -145,7 +145,7 @@ This is the default token type if no data has been read by the <xref:System.Text
145145
</ReturnValue>
146146
<MemberValue>10</MemberValue>
147147
<Docs>
148-
<summary>The token type is the JSON literal <see langword="null" />.</summary>
148+
<summary>The token type is the JSON literal "null".</summary>
149149
</Docs>
150150
</Member>
151151
<Member MemberName="Number">

xml/System.Text.Json/Utf8JsonReader.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ The JSON string is incomplete; that is, the JSON string length is not a multiple
273273
<Parameters />
274274
<Docs>
275275
<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>
276+
<returns>The comment that represents the current JSON token value.</returns>
277277
<remarks>To be added.</remarks>
278-
<exception cref="T:System.InvalidOperationException">The JSON token that is not a comment.</exception>
278+
<exception cref="T:System.InvalidOperationException">The JSON token is not a comment.</exception>
279279
</Docs>
280280
</Member>
281281
<Member MemberName="GetDateTime">
@@ -667,8 +667,8 @@ For input data within a `ReadOnlySpan<byte>`, this always returns `false`. For i
667667
<ReturnType>System.Boolean</ReturnType>
668668
</ReturnValue>
669669
<Docs>
670-
<summary>Gets the mode of this instance of the <see cref="T:System.Text.Json.Utf8JsonReader" />.</summary>
671-
<value><see langword="true" /> if the reader was constructed with the input span containing the entire data to process. <see langword="false" /> if the reader was constructed with an input span that may contain partial data with more data to follow.</value>
670+
<summary>Gets the mode of this instance of the <see cref="T:System.Text.Json.Utf8JsonReader" /> which indicates whether all the JSON data was provided or there is more data to come.</summary>
671+
<value><see langword="true" /> if the reader was constructed with the input span or sequence containing the entire JSON data to process. <see langword="false" /> if the reader was constructed with an input span or sequence that may contain partial JSON data with more data to follow.</value>
672672
<remarks>To be added.</remarks>
673673
</Docs>
674674
</Member>
@@ -844,7 +844,7 @@ If the look up text is invalid or incomplete UTF-16 text (such as unpaired surro
844844
<ReturnType>System.Int64</ReturnType>
845845
</ReturnValue>
846846
<Docs>
847-
<summary>Gets the index that the last processed JSON token within the given UTF-8 encoded input text starts at, skipping any white space.</summary>
847+
<summary>Gets the index that the last processed JSON token starts at (within the given UTF-8 encoded input text), skipping any white space.</summary>
848848
<value>The starting index of the last processed JSON token within the given UTF-8 encoded input text.</value>
849849
<remarks>
850850
<format type="text/markdown">
@@ -901,7 +901,7 @@ For comments, this value points to before the first comment delimiter (that is,
901901
<Parameter Name="value" Type="System.Byte[]" RefType="out" />
902902
</Parameters>
903903
<Docs>
904-
<param name="value">When the method returns, a byte array that contains the base 64-encoded JSON string if the method succeeds.</param>
904+
<param name="value">If the method succeeds, a byte array that contains the base 64-encoded JSON string.</param>
905905
<summary>Tries to parse the current JSON token value from the source and decodes the base 64 encoded JSON string as a byte array.</summary>
906906
<returns><see langword="true" /> if the entire token value is encoded as valid base 64 text and can be successfully decoded; <see langword="false" /> otherwise.</returns>
907907
<remarks>To be added.</remarks>

0 commit comments

Comments
 (0)