Code Inspections in Web.config
In Web.config, ReSharper 2016.3 provides two kinds of code inspections: 14 inspections that detect errors such as broken syntax, unresolved symbols, compiler errors, etc. (you cannot configure or disable any of these inspections), and 10 proprietary code inspections, any of which you can disable or change its severity level.
These code inspections help you detect code issues in design time in all open files, and additionally they allow you to find code issues in specific scope.
Configurable Web.config inspections are listed below, grouped in the following categories:
- Code Notification (2 inspections)
- Potential Code Quality Issues (2 inspections)
- Redundancies in Code (6 inspections)
Code Notification (2 inspections)
Potential Code Quality Issues (2 inspections)This category includes inspections that detect critical issues (code smells), mostly with Error or Warning level. This category also includes inspections that ensure localization assistance.
|Module qualification required||Warning|
|Referenced path cannot be found in the website||Warning|
Redundancies in Code (6 inspections)Code inspections in this category look for redundancies and dead code, which affect code readability and style, and could be safely removed. Some code redundancies cannot be fixed automatically, and quick-fixes for them are performed in the interactive mode, requiring the user input. But the majority of the redundancies can be fixed without user interaction, using either fix in scope or code cleanup.
|Redundant add element||Warning|
|Redundant add namespace element||Warning|
|Redundant element or attribute because of 'configSource' attribute||Warning|
|Redundant location element||Warning|
|Redundant remove or clear element||Warning|
|Redundant tagPrefix declaration||Warning|