Inspection for using logical operator Or in a Select Case #6061
Labels
enhancement
Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.
feature-inspections
up-for-grabs
Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky
Milestone
What
Inspection for using logical operator
Or
in aSelect Case
.Why
The user may not realise that the
Select Case
may not follow the path they expect.Example
This code should trigger the inspection:
QuickFixes
Replace Or operator with Comma separator
Example code, after quickfix is applied:
Resources
I don't know enough about the workings of the Select Case to suggest the right terminology for the resource strings.
The text was updated successfully, but these errors were encountered: