Fix LinearGradientMode parameter validation to match corefx (#5672)
[mono.git] / mcs / tests / test-anon-161.cs
1 using System;
2 using System.Collections.Generic;
3
4 public class TestCase
5 {
6         public static void Main ()
7         {
8                 Test (new IList<int> [] { new int[] { 1, 2, 3 } });
9         }
10         
11         public static void Test<T> (IList<IList<T>> l)
12         {
13                 Action action = delegate {
14                         var temp = l;
15                         Func<IList<IList<T>>, int> f = a => 1;
16                         f (temp);
17                 };
18                 
19                 action ();
20         }
21 }