summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1061-8.cs
blob: c69037583ac5745101c7f516382916b30f13b0ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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?
// Line: 12


using System.Linq;

public class M
{
	public static void Main ()
	{
		var e = from values in new [] { "value" }
			let length = values.Length2
			select length;
	}
}