Disabling specific Resharper rules for specific files
Is there a way to tell Resharper to ignore/suppress specific rules (say, method naming) in specific files on开发者_开发百科ly? This could be useful for tests and other cases where you have good reason for breaking naming conventions (like ICD compatibility, in my case)
Aside of suppressing them with comments of course, which would clutter the code
You don't need to put comments around each method with incorrect naming. You can put just one comment at the beginning of the file. It won't clutter the code. Like this:
using ...
using ...
// ReSharper disable ...
namespace ...
{
...
}
精彩评论