6

When I right-click a method and select Go to Implementation I am often presented with two implementations; one in my source code and one as a reference...

enter image description here

In this example, EmailService is in a different project that is loaded into the current Visual Studio solution and referenced as a project reference.

Selecting the reference one seems to do nothing, whereas selecting the source code one takes me to the implementation of the method (as expected).

This has happened on a couple of different development machines, in different projects.

What is causing this, and is it possible to resolve the issue so that Go to Implementation takes me directly to the source code implementation?

This is happening in Visual Studio 2012 with ReSharper 7.1 installed.

4

1 回答 1

2

使用Alt-Shift-T符号搜索或任何符号搜索,是否选中了包含库类型的复选框?

如果不是,那么可能是这个 Resharper 错误。如果您创建一个可重现的小示例并附在此处,您可以帮助修复它;)

于 2013-07-31T12:18:06.920 回答