Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1061-8.cs
1 // CS1061: Type `string' does not contain a definition for `Length2' and no extension method `Length2' of type `string' could be found. Are you missing an assembly reference?
2 // Line: 12
3
4
5 using System.Linq;
6
7 public class M
8 {
9         public static void Main ()
10         {
11                 var e = from values in new [] { "value" }
12                         let length = values.Length2
13                         select length;
14         }
15 }