Topic | Value |
---|---|
Id | GU0060 |
Severity | Warning |
Enabled | True |
Category | Gu.Analyzers.Correctness |
Code | GU0060EnumMemberValueConflictsWithAnother |
The enum member has a value shared with the other enum member, but it's not explicitly declared as its alias. To fix this, assign a enum member.
ADD MOTIVATION HERE
ADD HOW TO FIX VIOLATIONS HERE
Configure the severity per project, for more info see MSDN.
#pragma warning disable GU0060 // Enum member value conflict
Code violating the rule here
#pragma warning restore GU0060 // Enum member value conflict
Or put this at the top of the file to disable all instances.
#pragma warning disable GU0060 // Enum member value conflict
[System.Diagnostics.CodeAnalysis.SuppressMessage("Gu.Analyzers.Correctness",
"GU0060:Enum member value conflict",
Justification = "Reason...")]