Is there a way to navigate to real implementation of method behind an interface?

后端 未结 15 1486
攒了一身酷
攒了一身酷 2020-12-07 08:58

In Visual Studio, when you right-click a method call, you go to the implementation of that method inside a class except if you access this method through an interface: in th

15条回答
  •  难免孤独
    2020-12-07 09:43

    I created a free extension for Visual Studio 2010 and Visual Studio 2012 called Inheritance Margin to provide this specific feature, as well as give a clear indication when a method implements an interface method due to a signature match. In the current version, you can right click on any glyph to get a menu of items to navigate to.

    Inheritance Margin - Visual Studio Gallery


    (source: microsoft.com)

提交回复
热议问题