How to suppress a StyleCop warning?

后端 未结 12 1374
心在旅途
心在旅途 2020-11-27 18:23

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

12条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 18:59

    Alternatively you could move the code in regions into partial classes. Then the issue with the stylecop rule will go away.

提交回复
热议问题