-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
XmlWriter respects NewLineOnAttributes when writing xmlns #81822
Conversation
Tagging subscribers to this area: @dotnet/area-system-xml |
await WriteIndentAsync().ConfigureAwait(false); | ||
} | ||
|
||
await base.WriteStartNamespaceDeclarationAsync(prefix).ConfigureAwait(false); |
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.
just curious, why not move this logic to base?
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.
Well, I gues you know more about the design decisions of this stuff, but all the indentation is only done in these XxxRawTextWriterIndent
classes. I assume to save some bytes when no indentation is needed.
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.
Design was made long time before I joined the team 😄
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
/azp run runtime-libraries-coreclr outerloop-windows |
This comment was marked as off-topic.
This comment was marked as off-topic.
Thanks @devsko, overall looks good, just one question and outerloop tests need to run since XML has plenty of them |
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.
failures seem to be unrelated
Fixes #80306
Fixes #74840
I updated the tt files but did not use them because they are too far out of sync (tried to fix that also but gave up)