Find All References To Child Method
You should use ReSharper for that.
Steps:
- Download and install ReSharper (trial version will work for you)
- Open your project/solution in Visual Studio
- Find usage of ToString(), like
myDate.ToString();
- Right click on
ToString
token - Select
Find Usages Advanced ...
menu item - Tick the appropriate boxes in window as on screenshot below and click
Find
- PROFIT
In VS2015 when you try to Find References for override method, you have them grouped by type in
Results like this:
Find Symbol Results
In Visual Studio 2019, right-click on the desired method name, and then click "View Call Hierarchy." A "Call Hierarchy" window appears at the bottom (by default) of Visual Studio. In the left pane, you'll see a tree representation of the projects that call the method. Within each project, the first item is "Calls To [MethodName]." Expand this first item for a list of methods. Clicking each method will change the right pane of the "Call Hierarchy" window to show the lines where the method is called. Double-click these lines to go to them and address them individually.