Remove enum member value(s)
Property | Value |
---|---|
Id | RR0199 |
Applicable Syntax | selected enum member(s) |
Enabled by Default | ✓ |
Usage
Example #1
before.cs
public enum Foo
{
One = 1,
Two = 2,
Three = 3
}
after.cs
public enum Foo
{
One,
Two,
Three
}
Configuration
roslynator_refactoring.remove_enum_member_value.enabled = true|false