2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / errors / gcs1939.cs
blob54d1f5b8457efe0d08de21cb76a108eaad7762e2
1 // CS1930: A range variable `v' may not be passes as `ref' or `out' parameter
2 // Line: 19
5 using System;
6 using System.Linq;
8 class C
10 static int Foo (ref int value)
12 return 1;
15 public static void Main ()
17 var e = from v in "a"
18 let r = 1
19 select Foo (ref v);