2.0 Build 237 bug with multiple inheritance of interfaces

I have a class:
public class DerivedClassComparer : IComparer , IComparer which compiles fine. However, the order of the IComparer and IComparer in the signature above affects Reshaper intellisense in the following code line: IComparer = new DerivedClassComparer(param1, param2); If I swap IComparer and IComparer]]> in the DerivedClassComparer signature, I get resharper intellisense warning "can not convert source type"..., yet it builds fine and works fine.

1 comment
Comment actions Permalink

The problem is reproduced successfully.
Will be fixed shortly

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Kimmo" <no_reply@jetbrains.com> wrote in message
news:31928896.1146207988136.JavaMail.itn@is.intellij.net...
>I have a class:

public class DerivedClassComparer : IComparer<IClass> ,
IComparer<IDerivedClass>

>

which compiles fine. However, the order of the IComparer<IClass> and
IComparer<IDerivedClass> in the signature above affects Reshaper
intellisense in the following code line:

>

IComparer<IDerivedClass> = new DerivedClassComparer(param1, param2);

>

If I swap IComparer<IClass> and IComparer<IDerivedClass> in the
DerivedClassComparer signature, I get resharper intellisense warning "can
not convert source type"..., yet it builds fine and works fine.



0

Please sign in to leave a comment.