1. 抽象类不应该拥有构造函数原文引用:Abstract types should not have constructors TypeName: AbstractTypesShouldNotHaveConstructors CheckId: CA1012 Category: Microsoft.Design Message Level: CriticalWarning Certainty: 95% Breaking Change: NonBreaking Cause: A public type is abstract and has a public constructor. Rule Description Constructors on abstract types can only be called...[ 查看全文 ]