linux-packaging-mono/mcs/tests/gtest-autoproperty-06.cs

22 lines
230 B
C#
Raw Normal View History

class A { }
class B { }
interface I<T>
{
T Prop { get; set; }
}
class C : I<A>, I<B>
{
B I<B>.Prop { get; set; }
A I<A>.Prop { get; set; }
}
class Program
{
public static void Main (string[] args)
{
C c = new C ();
}
}