repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
gcs1939.cs
blob
54d1f5b8457efe0d08de21cb76a108eaad7762e2
1
// CS1930: A range variable `v' may not be passes as `ref' or `out' parameter
2
// Line: 19
3
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
}