Version
CA023 - Unneeded parentheses
Description
Parentheses that are not needed should be removed. This helps enforcing a consistent coding style
Scope Instruction Status Enabled Severity Suggestion Applicability All Score 30
Example of violation
Recommendation
Remove the parenthesis that are not needed.
In the example, it simply becomes:
Back to Rules
cached: 05/12/2025 12:36:39.000 PM