2010-04-19 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / bug-473999.2.cs
blob578cae23f87e900e03069a421ee13e8c8d1ae1ea
1 using System;
2 using System.Reflection;
4 public class Program
6 static void Main()
8 //Console.WriteLine ("start");
9 Test(""); // this one works.
10 //Console.WriteLine ("halfway");
11 Test(""); // this one throws.
12 //Console.WriteLine ("done");
15 static public void Test<T>(T a)
17 Func<T> func = () => a;
18 //MethodInfo mi = func.Method;
19 //Console.WriteLine (mi.ToString ());
20 func.DynamicInvoke();