Fix LinearGradientMode parameter validation to match corefx (#5672)
[mono.git] / mcs / tests / gtest-516.cs
1 using System;
2
3 interface I<T> : IA<T>
4 {
5 }
6
7 interface IA<T>
8 {
9         T this [int i] { set; }
10 }
11
12 class B
13 {
14         I<int> i;
15         
16         void Foo ()
17         {
18                 i [10] = 1;
19         }
20         
21         public static void Main ()
22         {
23         }
24 }