Skip to content

Commit 124d993

Browse files
authored
Current node is returned if it is a root, not null (dotnet#8663)
1 parent 438f2ad commit 124d993

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xml/System.Text.Json.Nodes/JsonNode.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,8 +2233,7 @@ This method makes a copy of the data the reader acted on, so there is no caller
22332233
<ReturnType>System.Text.Json.Nodes.JsonNode</ReturnType>
22342234
</ReturnValue>
22352235
<Docs>
2236-
<summary>Gets the root <see cref="T:System.Text.Json.Nodes.JsonNode" />.
2237-
If the current <see cref="T:System.Text.Json.Nodes.JsonNode" /> is a root, <see langword="null" /> is returned.</summary>
2236+
<summary>Gets the root <see cref="T:System.Text.Json.Nodes.JsonNode" />.</summary>
22382237
<value>To be added.</value>
22392238
<remarks>
22402239
<format type="text/markdown"><![CDATA[

0 commit comments

Comments
 (0)