Populate switchΒΆ

Identifier: ENUM0003

Default Action: Warning

Rationale: Add missing switch cases. A switch is considered incomplete if it is missing a possible value of the enum or the default case. This allows for more safe refactoring and avoids bugs by leaving incomplete switch statements.

../../_images/switch-on-enum-must-handle-all-cases.png