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

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

    No. This is not possible, despite the elaborate in memory code structure maintained by VS, code navigation is rather...stingy.

    It seems the only alternative is a global search with "Find All Reference" followed by a manual search of the resulting list to exclude typed value declarations, conversions, etc. or the use of other tools within VS other than the code editor. All rather complex and disappointing.

提交回复
热议问题