Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

22 lines
284 B
C#

// CS1930: A range variable `v' may not be passes as `ref' or `out' parameter
// Line: 19
using System;
using System.Linq;
class C
{
static int Foo (ref int value)
{
return 1;
}
public static void Main ()
{
var e = from v in "a"
let r = 1
select Foo (ref v);
}
}