summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1942.cs
blob: e6cffda8210b1a718f58e352f4c41cf02bd36974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS1942: An expression type in `select' clause is incorrect. Type inference failed in the call to `Select'
// Line: 12

using System;
using System.Linq;

class C
{
	public static void Main ()
	{
		var e = from values in "abcd"
			select null;
	}
}