Property | Value |
---|---|
Id | RR0059 |
Title | Add missing cases to switch statement |
Syntax | switch statement |
Enabled by Default | ✓ |
switch (dayOfWeek)
{
case DayOfWeek.Sunday:
break;
case DayOfWeek.Monday:
break;
case DayOfWeek.Tuesday:
break;
case DayOfWeek.Wednesday:
break;
case DayOfWeek.Thursday:
break;
}
switch (dayOfWeek)
{
case DayOfWeek.Sunday:
break;
case DayOfWeek.Monday:
break;
case DayOfWeek.Tuesday:
break;
case DayOfWeek.Wednesday:
break;
case DayOfWeek.Thursday:
break;
case DayOfWeek.Friday:
break;
case DayOfWeek.Saturday:
break;
}
(Generated with DotMarkdown)