Find code issues with code inspection
tip
The easiest way to deal with code issues highlighted in the editor is to place the caret at the highlighted code item and press AltEnter or click the action indicator that appears to the left of the code issue . The action list will pop up where JetBrains Rider 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")]
.