Permalink
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (26 sloc) 747 Bytes

RCS1157: Composite enum value contains undefined flag

Property Value
Id RCS1157
Category Design
Default Severity Info
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

[Flags]
public enum Foo
{
    None = 0,
    A = 1,
    B = 2,
    C = 4,
    D = 8,
    X = 17 // RCS1157
}

See Also

(Generated with DotMarkdown)