projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-17 Geoff Norton <gnorton@novell.com>
[mono.git]
/
mcs
/
errors
/
gcs1939.cs
1
// CS1930: A range variable `v' may not be passes as `ref' or `out' parameter
2
// Line: 19
3
// Compiler options: -langversion:linq
4
5
using System;
6
using System.Linq;
7
8
class C
9
{
10
static int Foo (ref int value)
11
{
12
return 1;
13
}
14
15
public static void Main ()
16
{
17
var e = from v in "a"
18
let r = 1
19
select Foo (ref v);
20
}
21
}