linux-packaging-mono/mcs/tests/test-anon-152.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

28 lines
406 B
C#

using System;
using System.Collections.Generic;
public class A<T>
{
public class B
{
private List<Action<T[]>> l = new List<Action<T[]>>();
protected void W<R>(string s, Func<T, R> f)
{
Action<T[]> w = delegate(T[] d)
{
R[] r = new R[d.Length];
for (int i = 0; i < d.Length; i++)
r[i] = f(d[i]);
};
l.Add(w);
}
}
}
public class B
{
public static void Main ()
{
}
}