Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

36 lines
350 B
C#

class C<T>
{
public interface IA
{
void MA (T arg);
}
public interface IB : IA
{
void MB (T arg);
}
}
class D : C<int>
{
public class Impl : IB
{
public void MA (int arg)
{
}
public void MB (int arg)
{
}
}
}
class Test
{
public static void Main ()
{
C<int>.IB arg = new D.Impl ();
arg.MA (1);
arg.MB (1);
}
}