[System.Windows.Forms] Disable failing test
[mono-project.git] / mcs / tests / gtest-589.cs
blob4599fe2fbd653fb579344188393a2cef08feb668
1 using System;
3 public class Z : IGenericInterface<Z>
5 public Z Start ()
7 return this;
10 Z IGenericInterface<Z>.Start ()
12 throw new ApplicationException ();
16 public interface IGenericInterface<T>
18 T Start ();
21 public class A<T> where T : Z, IGenericInterface<int>
23 public void SomeOperation (T t)
25 t.Start ();
29 public class C : Z, IGenericInterface<int>
31 int IGenericInterface<int>.Start ()
33 throw new NotImplementedException ();
36 public static void Main ()
38 new A<C> ().SomeOperation (new C ());