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

后端 未结 15 1437
攒了一身酷
攒了一身酷 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:49

    You can try Ctrl + F12 shortcut. It will lead you to implementation just like it will lead you to non interface methods using F12. [I tried it in VS 2017, not sure about other versions ]

提交回复
热议问题