summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1948-2.cs
blob: 5895fecfc74d06a29c4f9972434802aba24c33d5 (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: 13

using System;
using System.Linq;

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