-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rgen] Add needed factory methods to cast an enum to its primitive ty…
…pe. (#22062) Case to the underlying type if it is not a smart enum, else use the CastToNative method. --------- Co-authored-by: Alex Soto <[email protected]> Co-authored-by: GitHub Actions Autoformatter <[email protected]>
- Loading branch information
1 parent
cd6d5a2
commit 5c242ec
Showing
2 changed files
with
80 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters