-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Devirtualise Enum.ToString() / prevent boxing #6482
Copy link
Copy link
Closed
Labels
api-needs-workAPI needs work before it is approved, it is NOT ready for implementationAPI needs work before it is approved, it is NOT ready for implementationapi-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-System.Runtimetenet-performancePerformance related issuePerformance related issue
Milestone
Metadata
Metadata
Assignees
Labels
api-needs-workAPI needs work before it is approved, it is NOT ready for implementationAPI needs work before it is approved, it is NOT ready for implementationapi-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-System.Runtimetenet-performancePerformance related issuePerformance related issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
Will box on the
.ToString()Could the following method be added to Enum
Then when the enum types are compiled they can have a
.ToStringmethod as followsJust an idea... (or jit something better)