ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Use StyleCop styles

Last modified: 21 July 2022

In C#, ReSharper can apply its code formatting and code syntax styles according to StyleCop rules. Below are several ways in which ReSharper supports StyleCop.

To apply StyleCop rules, ReSharper relies on its own features and settings, which do not always map directly onto StyleCop rules:

  • ReSharper supports most of StyleCop naming, maintainability, readability, and layout rules.

  • Some StyleCop rules may not be supported in a specific version of ReSharper. However we will try to support more rules in coming versions.