[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0411-23.cs
1 // CS0411: The type arguments for method `System.Linq.Enumerable.OrderBy<TSource,TKey>(this System.Collections.Generic.IEnumerable<TSource>, System.Func<TSource,TKey>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 20
3
4 using System.Collections.Generic;
5 using System.Linq;
6
7 public class C
8 {
9         public string Name ()
10         {
11                 return "aa";
12         }
13 }
14
15 class Z
16 {
17         void Test ()
18         {
19                 List<C> l = null;
20                 var r = l.OrderBy (f => f.Name).ToList ();
21         }
22 }