Code Inspections in HttpHandler or WebService
In HttpHandler or WebService, ReSharper 2019.2 provides two kinds of code inspections: 3 inspections that detect errors such as broken syntax, unresolved symbols, compiler errors, and so on (you cannot configure or disable any of these inspections), and 8 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 HttpHandler or WebService inspections are listed below, grouped by their categories.
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.Inspection | ID | EditorConfig property | Default severity |
---|---|---|---|
Non-accessed field (non-private accessibility) | NotAccessedField.Global | resharper_not_accessed_field_global_highlighting | Suggestion |
Path error | Asxx.PathError | resharper_asxx_path_error_highlighting | Warning |
Redundancies in Symbol Declarations (1 inspection)
This category includes code inspections, mostly with the warning severity level, which detect empty and unused symbol declarations.Inspection | ID | EditorConfig property | Default severity |
---|---|---|---|
Type or member is never used (non-private accessibility) | UnusedMember.Global | resharper_unused_member_global_highlighting | Suggestion |
Spelling issues (5 inspections)
These inspections detect typos in various contexts.Inspection | ID | EditorConfig property | Default severity |
---|---|---|---|
Typo in comment | CommentTypo | resharper_comment_typo_highlighting | Suggestion |
Typo in identifier | IdentifierTypo | resharper_identifier_typo_highlighting | Suggestion |
Typo in markup attribute value | MarkupAttributeTypo | resharper_markup_attribute_typo_highlighting | Suggestion |
Typo in markup text | MarkupTextTypo | resharper_markup_text_typo_highlighting | Suggestion |
Typo in string literal | StringLiteralTypo | resharper_string_literal_typo_highlighting | Suggestion |