Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-lambda-27.cs
1 using System;
2
3 class MainClass
4 {
5         public static void Main ()
6         {
7                 Test1 (l => l.GetItems ());
8                 Test2 (l => l.GetItems2 ());
9         }
10
11         static T[] Test1<T> (Func<IB, T[]> arg)
12         {
13                 return null;
14         }
15
16         static IA<T>[] Test2<T> (Func<IB, IA<T>[]> arg)
17         {
18                 return null;
19         }
20 }
21
22 interface IA<U>
23 {
24 }
25
26 interface IB
27 {
28         string[] GetItems ();
29         IA<string>[] GetItems2 ();
30 }