Action Starting with an "override" method, request Find All references. We get methods with the same name in many classes, ...

Action
Starting with an "override" method, request Find All references. We get methods with the same name in many classes, so we get confused rapidly. 

We want a picture that shows us how these references are organized.

Dialogue
Suppose you're working code that has complicated hierarchies and lots of polymorphism.

You can create dependency graphs to help you see the bigger picture and discover how a method gets called.



Action
Copy the method name, and paste it in the Solution Explorer search box. 

Dialogue
Let's search for this method in Solution Explorer to see what's calling it.



Action
Find the method in Solution Explorer, right-click it, and click Called By. Select a few methods.

On the Solution Explorer toolbar, click New Dependency Graph With Ancestors.

Dialogue
Use the new pivot commands to find the methods that call this method, at any level. 

We can graph this selection easily, and see which methods call this method.



Action
Select one more method in the pivot results, and click Add to Active Dependency Graph with Ancestors.

Dialogue
Now that we have a graph, we can add more information. If these items are related, they're connected. 

This is helpful, but this method overrides a virtual method, so we want to know which methods call these too.



Action
Right-click the method on the graph, click Show, and Overridden Methods in Base Classes.

Dialogue
We get the overridden methods, in base classes.



Action
Right-click the resulting methods, click Show, and Called By.

Dialogue
We ask to see what calls these methods, so this way, we can really understand the impact of our  changes.