Replace if with switch
Hello,
I'm new to Resharper & want to perform an analysis on if statements.
Can somebody help me solve the following issues:
1) warn me when an 'if-else if' statement can be replaced with a switch statement?
2) warn me when an 'if-else if' statement does not have an else path?
tia,
Please sign in to leave a comment.