Find Usages of Related Entities
This command allows you to locate usages of entities that are related to the selected symbol in some way (such as textual occurrences, dynamic references, etc.) within a specified scope. You can invoke this command from the Solution Explorer, Structure, and other tool windows.
Find usages of related entities
Place the caret at a symbol in the editor or select the symbol in the Structure tool window.
Press Control+Alt+Shift+F7 or choose
in the main menu.In the Search Properties dialog that opens, you can customize your search.
Use checkboxes in the Find column to specify what kind of related symbols should be included in the results. Depending on the original symbol, the set of options varies. For example, if it is a type, you can look for usages of members; if it is a delegate, you can look for delegate target, and so on. For more information, refer to Find options for different symbols.
In the Scope column, choose the scope of the search.
If the original symbol is an overriding member in a derived class or an implemented interface member, JetBrains Rider displays the original member and all its base members in the Search field. You choose whether to look for usages of the base member or those of the overriding member.
Click Find.
If a single usage is found, JetBrains Rider will navigate you to the usage directly in the editor. Two or more search results will be shown in the Find Results window, where you can conveniently explore and analyze the usages.
Find options for different symbols
Usages | Usages of members | Derived types | Delegate targets | Textual occurrences | Dynamic references 1) | Extending interfaces | Implementations | Implementing methods | Include overloading | Overriding… | |
---|---|---|---|---|---|---|---|---|---|---|---|
Classes | |||||||||||
Constants | |||||||||||
Constructors | |||||||||||
Delegates | |||||||||||
Enumeration members | |||||||||||
Enumerations | |||||||||||
Events | |||||||||||
Fields | |||||||||||
Files | |||||||||||
Indexers | |||||||||||
Interfaces | |||||||||||
Methods (base) | |||||||||||
Methods (overriding, standalone) | |||||||||||
Namespaces | |||||||||||
Operators | |||||||||||
Parameters | |||||||||||
Properties | |||||||||||
Structs | |||||||||||
Type parameters | |||||||||||
Variables |
1) Dynamic references are references to members of objects that are bound to a specific type as late as at runtime. Dynamic (late-bound) references are allowed in C#, VB.NET, ASP.NET, and XAML. (back)
2) Available for events with virtual
modifier. (back)
3) If available. (back)
4) Available for indexers with virtual
modifier. (back)
5) If available. (back)
6) If available. (back)
7) If available. (back)
8) If available. (back)