Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
885 views
in Technique[技术] by (71.8m points)

.net - Go to definition on concrete type

Is there an extension for visual studio that would allow to do Go to Definition from a method and have it navigate straight to the concrete implementation instead of interface? Most of my code is inteface based and right if i do Go to definition it goes straight to the interface which makes sense, be nice to have Go to Concrete implementation..Thankx

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

If you using resharper it offers go to implementation and if there are different implementations you can choose among different implementation.

Also in the visual studio you can use find all references, method icon is different from calls, Also you can navigate on them by F8.

And in the visual studio 2010 or later you can use "ctrl"+"," and write the name in the window that appears in this action, then select among shown candidates, in this case you allowed to write abbreviations, ....


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...