Skip to content

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

Merged
merged 6 commits into from
Sep 4, 2019

Conversation

carlossanlop
Copy link
Contributor

Area owners @buyaa-n @krwq

@carlossanlop carlossanlop added the waiting-on-reviews Indicates PRs that cannot be merged because of the lack of reviews label Aug 27, 2019
@carlossanlop carlossanlop added this to the August 2019 milestone Aug 27, 2019
@carlossanlop carlossanlop self-assigned this Aug 27, 2019
<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>
Copy link
Member

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

@carlossanlop carlossanlop Sep 3, 2019

Choose a reason for hiding this comment

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

Suggested change
<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>

Copy link

@rpetrusha rpetrusha left a 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.

mairaw and others added 2 commits August 27, 2019 19:02
Co-Authored-By: Ron Petrusha <ronpet@microsoft.com>
@carlossanlop
Copy link
Contributor Author

@mairaw @rpetrusha all comments addressed, build passed without warnings. Is this good to merge?

@rpetrusha
Copy link

Yes, it's good to merge, @carlossanlop. I'll do that now.

@rpetrusha rpetrusha merged commit 1503202 into dotnet:master Sep 4, 2019
@mairaw mairaw removed the waiting-on-reviews Indicates PRs that cannot be merged because of the lack of reviews label Sep 10, 2019
@carlossanlop carlossanlop deleted the XDocument branch November 6, 2019 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants