Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-anon-152.cs
1 using System;
2 using System.Collections.Generic;
3
4 public class A<T>
5 {
6         public class B
7         {
8                 private List<Action<T[]>> l = new List<Action<T[]>>();
9
10                 protected void W<R>(string s, Func<T, R> f)
11                 {
12                         Action<T[]> w = delegate(T[] d)
13                         {
14                                 R[] r = new R[d.Length];
15                                 for (int i = 0; i < d.Length; i++)
16                                         r[i] = f(d[i]);
17                         };
18                         l.Add(w);
19                 }
20         }
21 }
22
23 public class B
24 {
25         public static void Main ()
26         {
27         }
28 }