TypeName | IfReturnTrueAnalyzer |
Check Id | CC0007 |
Category | Usage |
Severity | Warning |
Using an if/else to return true/false depending on the condition isn’t useful, as the condition is already a boolean it can be returned directly.
A code fix will be presented to you that will transform the code:
None
TBD