Skip to content
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

[Feature] Allow Unicode class Lm in XAML identifiers #10201

Open
vsfeedback opened this issue Nov 25, 2024 · 0 comments
Open

[Feature] Allow Unicode class Lm in XAML identifiers #10201

vsfeedback opened this issue Nov 25, 2024 · 0 comments
Labels

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


The XAML specification for identifiers (here) does not include Unicode class Lm in identifiers. But these are allowed in the C# specification (here).

When I use an Lm letter in my C# identifier and then x:Bind it to XAML, the XAML IntelliSense in Visual Studio recognizes the letter. But then when I try to compile it, the XAML generates an error saying that the identifier could not be found.

My suggestion is to include the Lm character class as if it were a LetterCharacter in the XAML syntax. This will bring XAML and C# identifier parsing into alignment.


Original Comments

Feedback Bot on 11/24/2024, 09:55 PM:

Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. You will hear from us in about a week on our next steps.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Nov 25, 2024
@karkarl karkarl added area-XamlCompiler bug Something isn't working and removed needs-triage Issue needs to be triaged by the area owners labels Dec 26, 2024
@evelynwu-msft evelynwu-msft changed the title Unicode class Lm in XAML identifiers [Feature] Allow Unicode class Lm in XAML identifiers Jan 7, 2025
@evelynwu-msft evelynwu-msft added feature proposal New feature proposal and removed bug Something isn't working labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants