ReSharper Web Help

Code Analysis features are available in: ReSharper Full Edition and ReSharper C# Edition

Solution-wide analysis in ReSharper combines two related but distinct features:

  • 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 the Marker 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:

See Also

Procedures

Reference

External Links