[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / tests / gtest-lambda-18.cs
1 using System;
2
3 static class Test
4 {
5         public static void Foo<T1, T2, TResult> (
6                 T1 arg1, T2 arg2, Func<T1, T2, TResult> func)
7         {
8                 Bar (arg1, arg2, (a, b, _) => func (a, b));
9         }
10
11         public static void Bar<T1, T2, TResult> (
12                 T1 arg1, T2 arg2, Func<T1, T2, int, TResult> func)
13         {
14         }
15
16         public static void Main ()
17         {
18         }
19 }