summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1948.cs
blob: 07d503d411e2e567fc35c7af4a0ad4dbb0ff91d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS1948: A range variable `T' conflicts with a method type parameter
// Line: 12


using System;
using System.Linq;

class C
{
	public static void Foo <T> ()
	{
		var e = from T in "a"
			select T;
	}
}