Managed Minimun Rules rule set for managed code

 

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.

RuleDescription
CA1001Types that own disposable fields should be disposable
CA1821Remove empty finalizers
CA2213Disposable fields should be disposed
CA2231Overload operator equals on overriding ValueType.Equals
Show: