From d7c5169d33272adef767a2e8ef8e8ddd6dc4c979 Mon Sep 17 00:00:00 2001 From: carlossanlop Date: Thu, 1 Aug 2019 13:49:22 -0700 Subject: [PATCH 1/2] Document System.Text.Json.JsonElement+ObjectEnumerator --- .../JsonElement+ObjectEnumerator.xml | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/xml/System.Text.Json/JsonElement+ObjectEnumerator.xml b/xml/System.Text.Json/JsonElement+ObjectEnumerator.xml index dcfde4ad6c3..92d335f60cd 100644 --- a/xml/System.Text.Json/JsonElement+ObjectEnumerator.xml +++ b/xml/System.Text.Json/JsonElement+ObjectEnumerator.xml @@ -53,8 +53,8 @@ System.Text.Json.JsonProperty - To be added. - To be added. + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. To be added. @@ -78,7 +78,7 @@ - To be added. + Releases the resources used by this instance. To be added. @@ -103,7 +103,9 @@ An enumerator that can be used to iterate through the object. @@ -130,8 +132,8 @@ The enumerator will enumerate the properties in the order they are declared, and - To be added. - To be added. + Advances the enumerator to the next element of the collection. + if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection. To be added. @@ -155,7 +157,7 @@ The enumerator will enumerate the properties in the order they are declared, and - To be added. + Sets the enumerator to its initial position, which is before the first element in the collection. To be added. @@ -178,8 +180,8 @@ The enumerator will enumerate the properties in the order they are declared, and - To be added. - To be added. + Returns an enumerator that iterates through a collection. + An object for objects that can be used to iterate through the collection. To be added. @@ -202,8 +204,8 @@ The enumerator will enumerate the properties in the order they are declared, and - To be added. - To be added. + Returns an enumerator that iterates through a collection. + An object that can be used to iterate through the collection. To be added. @@ -226,8 +228,8 @@ The enumerator will enumerate the properties in the order they are declared, and System.Object - To be added. - To be added. + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. To be added. From 112694c9016df0c239a0d56d0b80633b458ba41a Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Lopez <1175054+carlossanlop@users.noreply.github.com> Date: Mon, 5 Aug 2019 11:39:27 -0700 Subject: [PATCH 2/2] suggestions by rpetrusha Co-Authored-By: Ron Petrusha --- .../JsonElement+ObjectEnumerator.xml | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/xml/System.Text.Json/JsonElement+ObjectEnumerator.xml b/xml/System.Text.Json/JsonElement+ObjectEnumerator.xml index 92d335f60cd..689929b762b 100644 --- a/xml/System.Text.Json/JsonElement+ObjectEnumerator.xml +++ b/xml/System.Text.Json/JsonElement+ObjectEnumerator.xml @@ -181,8 +181,14 @@ The enumerator will enumerate the properties in the order they are declared, and Returns an enumerator that iterates through a collection. - An object for objects that can be used to iterate through the collection. - To be added. + An enumerator for objects that can be used to iterate through the collection. + + instance is cast to an [IEnumerator](xref:System.Collections.Generic.IEnumerator%601) interface. + + ]]> + @@ -205,8 +211,14 @@ The enumerator will enumerate the properties in the order they are declared, and Returns an enumerator that iterates through a collection. - An object that can be used to iterate through the collection. - To be added. + An enumerator that can be used to iterate through the collection. + + instance is cast to an interface. + + ]]> + @@ -234,4 +246,4 @@ The enumerator will enumerate the properties in the order they are declared, and - \ No newline at end of file +