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

21 lines
320 B
C#

using System;
public class C
{
public static int Main ()
{
new C ().AnyMethod<int> ();
return 0;
}
public void AnyMethod<T> ()
{
Action outerAction = () => {
string aString = "aString";
Action<string> innerAction = innerActionParam => innerActionParam.Contains (aString);
};
outerAction ();
}
}