We're using StyleCop in our C# projects. In some cases we'd like to avoid the rules though. I know you can add // <auto-generated />
in the beginning of the file to make StyleCop ignore it. However, I don't want to ignore the rules for the whole file - only a block of code within it.
Can I disable StyleCop for specific lines somehow?