ReSharper Web Help

ReSharper | Inspect | Value Origin
ReSharper | Inspect | Value Destination

Value Tracking helps you investigate value of a particular type and possibly determine how a certain incorrect value might have passed to a given point in your program, and where it might be passed next. This helps you investigate possible NullReferenceException, inappropriate behavior and reasons why you get incorrect values.

 Tip

Double-click any data flow element in the Inspection Results window to navigate to it in the editor.

To investigate members value origins
  1. Place the caret at the name of a method, property, variable, field, etc. whose value you want to investigate.
  2. On the main menu, choose ReSharper | Inspect | Value Origin or press Ctrl+Shift+Alt+A and choose Value Origin in the Inspect This drop-down list.
  3. The Inspection Results window opens where you can investigate possible origins of the value.
To investigate members value destinations
  1. Place the caret at the name of a property, variable, field, etc., whose value you want to investigate.
  2. On the main menu, choose ReSharper | Inspect | Value Destination or press Ctrl+Shift+Alt+A and choose Value Destination from the Inspect Thisdrop-down list.
  3. The Inspection Results window opens where you can investigate possible destinations of the value.

 Note

If a node represents an element of a collection, it is marked with ; if there is a lambda expression, it is marked with .

See Also

Procedures

Reference

External Links