Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fredrikhr
Copy link
Contributor

As @tannergooding notes in comment #527 (comment) the logic to strip the Enum type name from its members can lead to Enum members starting with digits or Enum members that are otherwise invalid (e.g. C# keywords).

The logic to create a stripped Enum member name has been refactored into its own method similar to the EscapeAndStripMethodName.

@fredrikhr fredrikhr force-pushed the strip-enum-member-type-name branch from c8f106e to f3237de Compare May 24, 2024 17:55
@fredrikhr fredrikhr marked this pull request as ready for review May 24, 2024 17:56
@tannergooding tannergooding merged commit 549da90 into dotnet:main May 24, 2024
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