我需要跳过使用某种stylecop的规则。我曾尝试使用类,命名空间,但没有成功
以下是同一文档:http://www.stylecop.com/docs/SA1210.html
请建议在正确的位置放置此代码
以下链接说明了如何使用SuppressMessage (archived link)
[SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1210:UsingDirectivesMustBeOrderedAlphabeticallyByNamespace", Justification = "Reviewed.")]
public class MyUndocumentedClass
{
public void MyUndocumentedMethod
{
}
}