2009-10-20 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-anon-45.cs
blobba7f33e7f99122451108848c0d9bb68d2a01b34a
1 using System;
3 public class C
5 public static int Main ()
7 new C ().AnyMethod<int> ();
8 return 0;
11 public void AnyMethod<T> ()
13 Action outerAction = () => {
14 string aString = "aString";
15 Action<string> innerAction = innerActionParam => innerActionParam.Contains (aString);
18 outerAction ();