-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] don't expand types to Extension for x:Static #17276
Conversation
Do we know if this is a path that is commonly used? Is this going to break a bunch of people? |
it's only affecting namespace with both MyClass and MyClassExtension defined. I believe this is safe and the modified behaviour is the expected one |
this is a dupe pr. the dupe is #15903. pick a single one |
@StephaneDelcroix this has been many coffee cycles since this was created... Do we still want/need this? |
68e6d6b
to
4c8c9ea
Compare
4c8c9ea
to
8deffd5
Compare
y, but in net9 |
8deffd5
to
65508e7
Compare
65508e7
to
ecc18d1
Compare
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.
This PR has ABI breaks as you noted, however, even if we switch to a new TFM (net10) old libraries that use this type and are built with an older maui will still break. People would have to recompile.
One workaround we can do is use default interface members.
Unless... and you would be on the hook for this (not sure what the hook would be and/or if it is enforceable) you say that this type is not meant to be used by anyone outside of maui and doing so is them opting into breaks.
And then this needs that oh-so-common rebase.
ecc18d1
to
68a5388
Compare
I reviewed this again. the only risk of breaking change would be if a 3rd party provide a markup extension that invoke |
68a5388
to
a00c4ee
Compare
no longer a breaking change |
a00c4ee
to
ff75f28
Compare
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
ff75f28
to
c428950
Compare
c428950
to
61f7e70
Compare
/rebase |
if a type name exists with an Extension suffix, xaml rules requires us to use that, but for x:Static we expect the user to know better
61f7e70
to
e083ed5
Compare
Description of Change
if a type name exists with an Extension suffix, xaml rules require us to use that. But not for x:Static
Issues Fixed