Support for SE1050 - Exhaustive Switch expressions/statements
SE1050 allows switch statements and expressions to be checked for exhaustiveness.
var x = myEnum.ForceExhaustive() switch
{
// All options must be mentioned
}
SE1050 allows switch statements and expressions to be checked for exhaustiveness.
var x = myEnum.ForceExhaustive() switch
{
// All options must be mentioned
}