-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Automatically port System.Xml.Linq.XDocument triple slash #3097
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
Conversation
xml/System.Xml.Linq/XDocument.xml
Outdated
<param name="stream">A <see cref="T:System.IO.Stream" /> containing the raw XML to read into the newly created <see cref="T:System.Xml.Linq.XDocument" />.</param> | ||
<param name="options">A set of <see cref="T:System.Xml.Linq.LoadOptions" />.</param> | ||
<param name="cancellationToken">A cancellation token.</param> | ||
<summary>Create a new <see cref="T:System.Xml.Linq.XDocument" /> and initialize its underlying XML tree using the passed <see cref="T:System.IO.Stream" /> parameter. Optionally whitespace handling can be preserved.</summary> |
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.
- nit: double space:
. Optionally
Optionally whitespace handling can be preserved.
=>Optionally whitespace can be preserved with PreserveWhitespace setting
- otherwise it means something slightly different
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.
Thanks for catching it, @krwq. If you can, please use GitHub's suggestion feature, it's easier and faster to apply the changes with that feature.
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.
<summary>Create a new <see cref="T:System.Xml.Linq.XDocument" /> and initialize its underlying XML tree using the passed <see cref="T:System.IO.Stream" /> parameter. Optionally whitespace handling can be preserved.</summary> | |
<summary>Create a new <see cref="T:System.Xml.Linq.XDocument" /> and initialize its underlying XML tree using the passed <see cref="T:System.IO.Stream" /> parameter. Optionally whitespace handling can be preserved with the <see cref="F:System.Xml.Linq.LoadOptions.PreserveWhitespace" /> setting.</summary> |
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.
I've left some suggestions for you to consider, @carlossanlop.
Co-Authored-By: Ron Petrusha <ronpet@microsoft.com>
@mairaw @rpetrusha all comments addressed, build passed without warnings. Is this good to merge? |
Yes, it's good to merge, @carlossanlop. I'll do that now. |
Area owners @buyaa-n @krwq