[System.Net.Http] HttpClient timeout range checks. Fixes #25755
[mono.git] / mcs / tests / gtest-622.cs
1 interface IX<TI>
2 {
3         void M<TO> () where TO : TI;
4 }
5
6 interface IY
7 {
8 }
9
10 class CY : IY
11 {
12 }
13
14 class A : IX<IY>
15 {
16         public void M<TO> () where TO : IY
17         {
18         }
19
20         public static void Main ()
21         {
22                 var a = new A ();
23                 a.M<CY> ();
24         }
25 }