托管代码的“托管最少量规则”规则集

The Managed Minimum Rules focus on the most critical problems in your code, including potential security holes, application crashes, and other important logic and design errors.您应在为项目创建的任何自定义规则集中包含此规则集。

规则

说明

CA1001

Types that own disposable fields should be disposable

CA1821

Remove empty finalizers

CA2213

应释放可释放的字段

CA2231

Overload operator equals on overriding ValueType.Equals