Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs1931.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 74d517d261595f81444a961e1465774e01b4e3db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS1931: A range variable `i' conflicts with a previous declaration of `i'
// Line: 14


using System;
using System.Linq;

class C
{
	public static void Main ()
	{
		int i = 9;
		var e = from v in "a"
			let i = 2
			select v;
	}
}