-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Refactoring XmlReader{Async} #59337
Refactoring XmlReader{Async} #59337
Conversation
Tagging subscribers to this area: @buyaa-n, @krwq Issue Detailsnull
|
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlReader.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlReader.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlReaderAsync.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlReader.cs
Outdated
Show resolved
Hide resolved
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.
LGTM apart from adding back in the scoped using to make sure the lifetime is explicitly handled correctly as already noted.
@Wraith2 @scalablecory done |
Per @scalablecory above
The sw.ToString()'s need to be outside/after the using scopes so that flush executes before we try to take the string value. |
@Wraith2 @scalablecory |
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.
lgtm; final review to @krwq :)
@krwq ping |
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.
LGTM after resolving comment
No description provided.