Flag check correctness

Hi all!

Is there a way to highlight if the enum have [Flags] attribute but it is checked like an ordinary enum and warn about it? I got caught a few times checking enum with the [Flags] as usual one. It would be nice to highlight that in the IDE.

0
1 comment

Hello Psiuk K ,

Could you please provide an example of the code that should produce the inspection you're proposing?

Thank you in advance.

0

Please sign in to leave a comment.