-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[X] Protect some xmlns #28909
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
[X] Protect some xmlns #28909
Conversation
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
ddcb498
to
6613043
Compare
😉 |
if (attribute.XmlNamespace.StartsWith("http://schemas.microsoft.com/", StringComparison.Ordinal) && | ||
!attribute.AssemblyName.StartsWith("Microsoft", StringComparison.Ordinal) && | ||
!attribute.AssemblyName.StartsWith("System", StringComparison.Ordinal) && | ||
!attribute.AssemblyName.StartsWith("mscorlib", StringComparison.Ordinal)) |
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.
Looks this check is duplicated 3 times. Could you put that into a single, central place somewhere?
6613043
to
6140ca7
Compare
protect maui and x: xmlns from overloading. - fixes #28836
7849a4b
to
49c2d2b
Compare
closing in favour of #29579 |
Description of Change
[X] Protect some xmlns
protect maui and x: xmlns from overloading.
Issues Fixed