JetBrains Rider 2019.2 Help

Code Inspection: Underlying type of enum is 'int'

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.

enum Letters : int // <-- not required { Alpha, Beta, Gamma }
Last modified: 20 August 2019

See Also