[231] "Ambigous reference" with generic types

Hey!

Cudos for great speed improvments in build 231.

But I get an annoying error from R#. My generic type cannot be resolved due
to an "Ambigous reference".
R# displays a list of two type definitions with equal name.

My generic class is very simple, something along the line of:

public class WSHelper]]> : IDisposable where T : WebServicesClientProtocol,
new()
{

}


The error also manifests itself in other operations, Go to Declaration displays
a list of two references to the same location.
The Lightbulb suggests:
Use WSHelper Use WSHelper]]>


Regards,
Peter Lillevold
http://blogs.eternia.cc/peter


1 comment
Comment actions Permalink

Just FYI, I'm seeing this as well, but not with a generic type ... just a
plain old ordinary type (actually a static utility class).


"Peter Lillevold" <peter@dezibel.com> wrote in message
news:cc509382ecbb48c822e2b48647d0@news.jetbrains.com...

Hey!

>

Cudos for great speed improvments in build 231.

>

But I get an annoying error from R#. My generic type cannot be resolved
due to an "Ambigous reference".
R# displays a list of two type definitions with equal name.
My generic class is very simple, something along the line of:

>

public class WSHelper<T> : IDisposable where T :
WebServicesClientProtocol, new()
{

}

>
>

The error also manifests itself in other operations, Go to Declaration
displays a list of two references to the same location.
The Lightbulb suggests:
Use WSHelper<T>
Use WSHelper<T>

>
>

Regards,
Peter Lillevold
http://blogs.eternia.cc/peter

>



0

Please sign in to leave a comment.