Skip to content

Commit 10a541b

Browse files
ahsonkhangewarren
andcommitted
Fix remarks for JsonElement TryGetDouble and TryGetSingle (#3719)
* Fix remarks for JsonElement TryGetDouble and TryGetSingle Add missing `"` and change `it returns false` to `it returns <see langword="true">` * Update xml/System.Text.Json/JsonElement.xml Co-Authored-By: Genevieve Warren <[email protected]>
1 parent 8913485 commit 10a541b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Text.Json/JsonElement.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ This method does not parse the contents of a JSON string value.
11591159
11601160
This method does not parse the contents of a JSON string value.
11611161
1162-
On .NET Core, this method does not return `false` for values larger than <xref:System.Double.MaxValue?displayProperty=nameWithType> or smaller than <xref:System.Double.MinValue?displayProperty=nameWithType>. Instead, it returns <see langword="true> and assigns <xref:System.Double.PositiveInfinity?displayProperty=nameWithType> or <xref:System.Double.NegativeInfinity?displayProperty=nameWithType> to `value`.
1162+
On .NET Core, this method does not return `false` for values larger than <xref:System.Double.MaxValue?displayProperty=nameWithType> or smaller than <xref:System.Double.MinValue?displayProperty=nameWithType>. Instead, it returns `true` and assigns <xref:System.Double.PositiveInfinity?displayProperty=nameWithType> or <xref:System.Double.NegativeInfinity?displayProperty=nameWithType> to `value`.
11631163
11641164
]]></format>
11651165
</remarks>
@@ -1515,7 +1515,7 @@ This method does not parse the contents of a JSON string value.
15151515
15161516
This method does not parse the contents of a JSON string value.
15171517
1518-
On .NET Core, this method does not return `false` for values larger than <xref:System.Single.MaxValue?displayProperty=nameWithType> or smaller than <xref:System.Single.MinValue?displayProperty=nameWithType>). Instead, it returns `false` and assigns <xref:System.Single.PositiveInfinity?displayProperty=nameWithType> or <xref:System.Single.NegativeInfinity?displayProperty=nameWithType> to the `value` argument.
1518+
On .NET Core, this method does not return `false` for values larger than <xref:System.Single.MaxValue?displayProperty=nameWithType> or smaller than <xref:System.Single.MinValue?displayProperty=nameWithType>). Instead, it returns `true` and assigns <xref:System.Single.PositiveInfinity?displayProperty=nameWithType> or <xref:System.Single.NegativeInfinity?displayProperty=nameWithType> to the `value` argument.
15191519
15201520
]]></format>
15211521
</remarks>

0 commit comments

Comments
 (0)