Disable resharper around code blocks

Is there a way to disable all resharper warnings around a certain section of code? Something similar to the "Suppress warning" item by the red lightbulb, only instead of a specific number have it disable resharper altogether? I'd hate to have to turn it off entirely for a file when there are just portions that need to be excluded...

something like

#pragma warning disable 999999999
#pragma warning restore 999999999

The trick from http://www.intellij.net/forums/thread.jspa?messageID=5205568&#5205568 did NOT work
#region Windows Form Designer generated code

Please sign in to leave a comment.