Skip to content

fix: Ensure that MarkupExtension search behavior is consistent with winui #19838

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yaobiao131
Copy link

…inui, and prioritize classes with Extension extensions

GitHub Issue (If applicable): closes #

PR Type

What kind of change does this PR introduce?

What is the current behavior?

When I created two classes named ResourcesExtension and Resources in same namespace, ResourcesExtension implemented MarkupExtension and Resource is a static class. It can be parsed to ResourcesExtension normally in winui, but in uno, it will first search for the static class Resources.

What is the new behavior?

The search behavior is consistent with winui, and classes with Extension extensions are searched first.

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

…inui, and prioritize classes with Extension extensions
@github-actions github-actions bot added the area/code-generation Categorizes an issue or PR as relevant to code generation label Apr 4, 2025
@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-19838/index.html

@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-19838/index.html

@unodevops
Copy link
Contributor

⚠️⚠️ The build 159813 has failed on Uno.UI - CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/code-generation Categorizes an issue or PR as relevant to code generation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants