Class/library reference seems to be listed twice in the Resharper cache

Resharper enlists a certain base class as a problem by underlining it.
When right clicking the underline, Resharper presents a solution - it normally lists the correct classes to choose from. In my case, it lists twice exactly the same class name (with the same exact namespace).

When I compile the dll, I have no problem, which should tell me I have no problem. That's why I think Resharper has some problem.

Does it have a cache where I could find the references that Resharper sees ?
Can I check which files/library references Resharper sees ?

Is there anything I can do to avoid this current behaviour ?

3 comments
Comment actions Permalink

Hello Dirk,

could you please specify if the duplicated classes originate from source
code or a referenced assembly? Thanks.


Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


Resharper enlists a certain base class as a problem by underlining it.

When right clicking the underline, Resharper presents a solution - it
normally lists the correct classes to choose from. In my case, it
lists twice exactly the same class name (with the same exact
namespace).

When I compile the dll, I have no problem, which should tell me I have
no problem. That's why I think Resharper has some problem.

Does it have a cache where I could find the references that Resharper
sees ? Can I check which files/library references Resharper sees ?

Is there anything I can do to avoid this current behaviour ?



0
Comment actions Permalink

Hey, that's a fast response ;) Thx !

The base class is a class from a referenced library.

public abstract
class DataAccess : Framework2005.DataAccess]]>

And in the project, of course, a reference exists to Framework2005.dll

0
Comment actions Permalink

I have the same problem. All of my external references (non system) are
flagged as ambiguous. I am using the latest nightly build that fixes the
edit and continue problem. This started with the release build of 2.5.

Rob Trainer

"Dirk Maegh" <no_reply@jetbrains.com> wrote in message
news:32463786.1166698706497.JavaMail.itn@is.intellij.net...

Hey, that's a fast response ;) Thx !

>

The base class is a class from a referenced library.

>

public abstract
class DataAccess<TContext> : Framework2005.DataAccess<Context>

>

And in the project, of course, a reference exists to Framework2005.dll



0

Please sign in to leave a comment.