2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-lambda-24.cs
blobaf622b3b1ff8dc65ee859e72d0bc69e35460612a
1 using System;
3 static class E
5 public static string Test<T> (this C c, T s, Func<T> f)
7 return "s";
11 public class C
13 int Test<T> (T b, Func<bool> f)
15 return 1;
18 static string Foo<T> (T t, Action<T> a)
20 a (t);
21 return "f";
24 public static void Main ()
26 var c = new C ();
27 Action<string> f = l => Foo ("v", l2 => c.Test ("a", () => ""));
28 f ("-");