다음을 통해 공유


Managed Minimun Rules rule set for managed code

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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