-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Automatically port System.Text.Json documentation #3795
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -517,6 +517,8 @@ For more information, see [How to serialize and deserialize JSON](~/docs/standar | |
|
||
]]></format> | ||
</remarks> | ||
<exception cref="T:System.ArgumentNullException"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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) There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Can you give me an example of that? There was a problem hiding this comment. Choose a reason for hiding this commentThe 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> |
||
<paramref name="writer" /> is <see langword="null" />.</exception> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="Serialize<TValue>"> | ||
|
@@ -600,6 +602,8 @@ For more information, see [How to serialize and deserialize JSON](~/docs/standar | |
|
||
]]></format> | ||
</remarks> | ||
<exception cref="T:System.ArgumentNullException"> | ||
<paramref name="writer" /> is <see langword="null" />.</exception> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="SerializeAsync"> | ||
|
There was a problem hiding this comment.
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.