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.
Please sign in to leave a 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.
Tank you for your quick response.