Could not override SmartEnum.Value
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 184
- PR merge metrics
- No merged PRs in 30d
Description
I have downloaded SmartEnum because I wanted enum with double values.
This is not possible as Value property could not be overrided.
Integer value should be hidden within enum in original class and unaccessible when overriden with other data type.
So that my class CrossSection.PointTwoFive.Value will result in "0.25".

Contributor guide
Research direction
Start by reviewing the SmartEnum base class and the CrossSection example shown in the issue, focusing on how Value is defined and exposed. Determine whether a double-valued enum can be supported without exposing the original integer value. Done means the requested CrossSection.PointTwoFive.Value behavior is supported and existing SmartEnum behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100