Find code issues with code inspection
Last modified: 19 August 2021
tip
The easiest way to deal with code issues highlighted in the editor is to set the caret at the highlighted code item and press Alt+Enter or click the action indicator that appears to the left of the code issue. The action list will pop up where ReSharper suggests one or more quick-fixes for most issues.
tip
If necessary, you can disable all inspections (except those detecting compiler errors) in a specific block of code by inserting
// ReSharper Disable All
before and// ReSharper Restore All
after it, or in a specific type or member by adding the following attribute:[SuppressMessage("ReSharper", "All")]
.