Managed Minimun Rules rule set for managed code
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Managed Minimun Rules rule set for managed code.
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. You should include this rule set in any custom rule set you create for your projects.
| Rule | Description |
|---|---|
| CA1001 | Types that own disposable fields should be disposable |
| CA1821 | Remove empty finalizers |
| CA2213 | Disposable fields should be disposed |
| CA2231 | Overload operator equals on overriding ValueType.Equals |
Show: