linux-packaging-mono/mcs/tests/gtest-lambda-18.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01: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 ()
{
}
}