ReSharper Web Help

Static code analysis in ReSharper is called Code Inspection and performed by applying over 1300 inspections to your code in all supported languages. The default set of inspections can be extended with structural search and replace patterns.

Code inspection can be performed in several ways:

The inspections fall into the following categories:

Tip

You can get more inspections for specific purposes with ReSharper extensions.

In this section:

Tip

Starting from ReSharper 8.0, you can disable all inspections (except those detecting compiler errors) in a specific block of code — insert // ReSharper Disable All before and // ReSharper Restore All after the code block.


This feature is supported in the following languages/technologies:

C# VB.NET HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available

Tip

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see the corresponding topics in the ReSharper by Language section.