Abort compilation on naming violation (inconsistent naming)

Hi,

is it possible to get compiler errors on naming violations (inconsistent naming)? For instance, if there is a private field missing the leading underscore, i would like to get compiler errors.

 

 

1
2 comments
Official comment

Hello Adrian,

 

ReSharper is not involved in compiling code process and there's no option to apply ReSharper inspections as compiler warnings.

I can only suggest changing the severity of "Inconsistent naming" inspection so it could be displayed as errors in VS.

Thank you.

Avatar
Permanently deleted user

Tank you for your quick response.

0

Please sign in to leave a comment.