Fix LinearGradientMode parameter validation to match corefx (#5672)
[mono.git] / mcs / tests / gtest-276.cs
1 using System;
2 using System.Collections.Generic;
3
4 class Tests {
5
6         public static int Main () {
7                 int[] x = new int[] {100, 200};
8
9                 GenericClass<int>.Z (x, 0);
10
11                 return 0;
12         }
13
14         class GenericClass <T> {
15                 public static T Z (IList<T> x, int index)
16                 {
17                         return x [index];
18                 }
19         }
20 }