Skip to content

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Jan 6, 2025

Description

IsLetterOrDigit is not considering LetterNumbers to be a digit (as defined here in remarks: https://learn.microsoft.com/en-us/dotnet/api/system.char.isletterordigit?view=net-9.0 )

But spec considers them as valid, this mismatch was causing the identifier to be wrapped in '.

Related issue

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2285943

@nohwnd nohwnd requested a review from Evangelink as a code owner January 6, 2025 12:03
Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any possibility to backport to 17.12.1 or shall we wait 17.13?

nohwnd and others added 3 commits January 6, 2025 13:58
…es/ManagedNameHelper.Reflection.cs

Co-authored-by: Amaury Levé <[email protected]>
…NameUtilities/ManagedNameGeneratorTests.cs

Co-authored-by: Amaury Levé <[email protected]>
@nohwnd
Copy link
Member Author

nohwnd commented Jan 6, 2025

Linked issue mentions that this is not functional issue, it just impacts the view. Do you have a reason why backporting would be worth it?

@Evangelink
Copy link
Member

The link wasn't opening for me (DNS issue) so I didn't see this was only a "view" issue. Thanks for the comment, please disregard my request/suggestion.

@nohwnd nohwnd merged commit 778c004 into microsoft:main Jan 6, 2025
7 checks passed
This was referenced Jul 21, 2025
This was referenced Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants