Is there a way to disable ReSharper for a specific file?
This may be a feature in a more recent version than the one available when the question was originally asked. It is possible to suppress code inspection for a specific block (or file) by using the comments: // ReSharper disable All and // ReSharper restore All See here.