Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically port System.Text.Json documentation #3795

Merged
merged 2 commits into from
Jan 23, 2020

Conversation

carlossanlop
Copy link
Member

The tool found 2 exceptions and 1 remark.

@carlossanlop carlossanlop added the new-content Indicates PRs that contain new articles label Jan 23, 2020
@carlossanlop carlossanlop added this to the January 2020 milestone Jan 23, 2020
@carlossanlop carlossanlop self-assigned this Jan 23, 2020
@@ -652,7 +652,15 @@ If a property is defined multiple times for the same object, the method matches
<Docs>
<summary>Gets a string that represents the original input data backing this value.</summary>
<returns>The original input data backing this value.</returns>
<remarks>To be added.</remarks>
<remarks>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JsonNode hasn't shipped yet (it's new in 5.0), so I would remove this remark for now.

Copy link
Contributor

@ahsonkhan ahsonkhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, looks good.

@@ -517,6 +517,8 @@ For more information, see [How to serialize and deserialize JSON](~/docs/standar

]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be on one line? Does it make a difference one way or another?

Asking because it was brought up earlier: dotnet/corefx#42026 (comment)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One line when it starts with text, like this when it starts with a tag. Just to avoid having the CI touching this file with no need. But it doesn't matter really.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, we should leave it as is then (so that CI doesn't have to modify this file again). Sounds good.

One line when it starts with text,

Can you give me an example of that?

Copy link
Member Author

@carlossanlop carlossanlop Jan 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahsonkhan Example of a line starting with just text:

<exception cref="ArgumentException">I started with text.</exception>

In contrast with a line starting with a tag:

<exception cref="ArgumentException"><paramref name="lookAtMe" /> I started with a param tag.</exception>

@carlossanlop carlossanlop removed the request for review from a team January 23, 2020 18:17
@carlossanlop carlossanlop merged commit b69b2b6 into dotnet:master Jan 23, 2020
@carlossanlop carlossanlop deleted the Json_2020_01_22 branch January 23, 2020 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-content Indicates PRs that contain new articles
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants