Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Jun 15, 2024
1 parent b83a526 commit e1a461a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private void AnalyzeOperation(OperationAnalysisContext context)
if (HasDefaultCase(operation) || hasAllCases)
return default;

return (missingCases: true, missingDefaultCase: true);
return (missingCases: false, missingDefaultCase: true);
}

private (bool missingCases, bool missingDefaultCase) AnalyzeEnumSwitch(TSwitchOperation operation, ITypeSymbol type)
Expand Down

0 comments on commit e1a461a

Please sign in to comment.