2007-10-17 Geoff Norton <gnorton@novell.com>
[mono.git] / mcs / errors / gcs1931-2.cs
1 // CS1931: A range variable `i' conflicts with a previous declaration of `i'
2 // Line: 13
3 // Compiler options: -langversion:linq
4
5 using System;
6 using System.Linq;
7
8 class C
9 {
10         public void Foo (int i)
11         {
12                 var e = from v in "a"
13                         let i = 2
14                         select v;
15         }
16 }