Is it possible to disable Re# warnings for what it believes to be compiler warnings?
My real issue is disabling the warning about unused method parameters. Resharper seems to think it's a compiler warning and offers to issue a "#pragma disable warning 168", which hides the Re# warning. There is no compiler warning however (using highest warning levels with treat warnings as errors). There is seemingly no option to disable this code inspection, which annoys me to death.
I don't want to remove the parameters in question for various reasons (planned features incl. delegate use and some consistency issues) and since it's more or less an open source project which doesn't officially use Resharper, I'd rather not clutter my code to hide Resharper warnings. I'm pretty sure Re# 3 allowed me to disable these warnings, but not 4.1? Yes, it may very well be that I'm using bad practice and what not, but I still wish to disable that warning, at least for now.
Also, the NullReferenceException inspection was alot nicer in Re# 3, even if the new one is smarter in some ways..
cls = new SomeRefClass();
if(cls == null)
cls.DoSomething(); // Possible NRE in 4.1, not in 3.1
Now I do see why this happens, but it's still annoying like hell. In 3.1 the NRE inspection helped me catch several misstakes, in 4.1 I have to disable it due to things like these.
Thank you for your time.