From the course: Visual Studio 2019 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Find all references

Find all references - Visual Studio Tutorial

From the course: Visual Studio 2019 Essential Training

Start my 1-month free trial

Find all references

- [Instructor] You're working in your code and you're looking at this Author class and this Book class and you're curious, you think to yourself, I wonder where this Author class is being used in this project. Here's how you can find out. Right click, and choose Find All References. That opens this window across the bottom of the screen and it shows that it's used in a couple of places. It's used in this Publication.cs file as a property type. So, let me click on that and you'll notice that at the top of the screen, Visual Studio changes and it shows me the content of the Publication.cs file. It's also used here in this BookDataService.cs file. And I think you get the idea how this works. Let's try it with the Book class. I'll go to the Book definition, right click, Find All References. The contents of this window are replaced and now I have a longer list of locations of where the Book class is being used. Some of the things you an do inside this screen is filter the list. Right now…

Contents