Update the reference assemblies we ship in mono.
[mono-project.git] / mcs / errors / cs0411-23.cs
blobf12aaf9c96c67a1347e69eb7f4506d0f775005c4
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
4 using System.Collections.Generic;
5 using System.Linq;
7 public class C
9 public string Name ()
11 return "aa";
15 class Z
17 void Test ()
19 List<C> l = null;
20 var r = l.OrderBy (f => f.Name).ToList ();