I\'m using StyleCop and want to suppress some warning which does not suit my style. I prefer to have solution for
1) in-line code suppressing 2) global setting
Alternatively you could move the code in regions into partial classes. Then the issue with the stylecop rule will go away.