Language: C# | Type: CODE_SMELL | Severity: Minor
Tags: convention
The information that an enumeration type is actually an enumeration or a set of flags should not be duplicated in its name.
enum FooFlags // Noncompliant
{
Foo = 1
Bar = 2
Baz = 4
}
enum Foo
{
Foo = 1
Bar = 2
Baz = 4
}