Files
mono/mcs/tests/gtest-lambda-18.cs
T
Marek Safar 907bca6614 Use correct naming, add 4.0 profile
svn path=/trunk/mcs/; revision=138957
2009-07-29 13:53:27 +00:00

20 lines
318 B
C#

using System;
static class Test
{
public static void Foo<T1, T2, TResult> (
T1 arg1, T2 arg2, Func<T1, T2, TResult> func)
{
Bar (arg1, arg2, (a, b, _) => func (a, b));
}
public static void Bar<T1, T2, TResult> (
T1 arg1, T2 arg2, Func<T1, T2, int, TResult> func)
{
}
public static void Main ()
{
}
}