Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find All References to an overriden method in VisualStudio

I have an interface ISomething which defines GetSomething().

I have a bunch of classes Something1, Something2,... all implement ISomething and therefore GetSomething().

When I right-click on Something1.GetSomething() and click Find All References, VisualStudio shows all references to ISomething.GetSomething() instead of the actual derived class.

I'm wondering if there is a way to navigate to Something1.GetSomething() without scrolling down all the implementations of GetSomething()

like image 761
Bizhan Avatar asked Dec 11 '13 12:12

Bizhan


1 Answers

Right next to Find All References is View Call Hierarchy. It breaks up references to the selected member into 3 groups: Calls To, Calls From, and Implements. You're probably looking for the last one.

Call Hierarchy

like image 110
Jimmy Avatar answered Nov 14 '22 23:11

Jimmy