-
Solution-wide error analysis that looks for errors in the whole solution on-the-fly and lets you view the list of errors using the Errors in Solution tool window. This possibility brings two advantages:- You don't have to open each and every file to make sure that your solution doesn't contain errors.
- ReSharper detects certain errors that it wouldn't otherwise be able to detect within the local scope of a single file. For example, suppose that you changed the visibility of a member from public to internal, assuming that it was only used inside the current assembly. At this stage, ReSharper finds no errors in the current file. Then, you switch on solution-wide analysis, and the circle indicator in the status bar turns red. You jump to the next error in solution and you find out that someone used this member from outside of the current assembly.
-
Solution-wide code inspections are warnings or suggestions displayed in code and on theMarker Bar in specific files (as opposed to the Errors in Solution tool window) when solution-wide analysis is on. They help detect unused non-private members, classes, and parameters, unassigned fields, suspicious type conversions etc.
This section explains how to:
-
Enable solution-wide analysis as a prerequisite to view all errors in solution or use solution-wide inspections. -
View errors in solution . -
Configure how ReSharper displays errors in solution by ignoring specific errors. - Make use of
solution-wide inspections .

