Add doc comments to JsonDocument (and friends)
authorJeremy Barton <jbarton@microsoft.com>
Tue, 26 Feb 2019 06:02:02 +0000 (22:02 -0800)
committerGitHub <noreply@github.com>
Tue, 26 Feb 2019 06:02:02 +0000 (22:02 -0800)
commite2765675c680a4a17aa8bef244b60857514681d2
tree55e23ea7c63676c4881892726c00e31b463ec011
parent4281d15fd62a8255d00d967e32f2f44f530e51af
Add doc comments to JsonDocument (and friends)

* Add doc comments to all public members of JsonDocument, JsonElement, JsonProperty, and JsonValueType.
* Add "do not use this" doc comments on all internal members, because of source-package concerns.
* Change JsonElement.TokenType from internal to private because it could.

Commit migrated from https://github.com/dotnet/corefx/commit/81e9045dca63ccea9b4fe31f8ac3a035b1b1f86d
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.DbRow.cs
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.Parse.cs
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.TryGetProperty.cs
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.cs
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonElement.ArrayEnumerator.cs
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonElement.ObjectEnumerator.cs
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonElement.cs
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonProperty.cs
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonValueType.cs