In Visual Studio 2019, the Find All References
command should do exactly what you want. It should automatically return only the references for the particular type or member that you selected, not other symbols that happen to have the same name.
To be clear, the way I use the Find All References
command does not involve the Solution Explorer. Rather, I select the name in the code editor, right-click and choose Find All References
(or press a keyboard shortcut, usually F4). That approach works in VS 2015, 2017, and 2019, etc. However, the results window changed drastically from VS 2015 to VS 2017 and newer.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…