JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

Code inspection: Underlying type of enum is 'int'

Last modified: 11 February 2024

Specifying the enumeration type to be int is redundant because, by default, int is the default governing type for enumeration members. Consequently, the specification can be safely removed.