cannot implement both 'I<X>' and 'I<Y>' because they may unify for some type parameter substitutions....

Mark Nicholls <[email protected]> Wed, 26 Aug 2009 10:18:37 -0400
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <LISTSERV%[email protected]>
I have a duplicate interface problem....

I actually (and actively) want to potentially implement the same interfac=
e twice...

I don't care which interface implementation is used (in Dbc terms it make=
s not difference to me) , dotnet can 'choose' either..

Is there any way of implementing this?

(I've tried F# thinking it may be more 'logical'...but it too failed).

example code...

    interface I<X>
    {
    }

    interface A<X, Y> : I<X>, I<Y>
    {
    }

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives