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
retag
[mcs.git]
/
errors
/
cs1620-2.cs
blob
3d9314605b20826d45281c3387f25447382bc20d
1
// CS1620: Argument `#1' is missing `ref' modifier
2
// Line: 24
3
4
public class
X
5
{
6
public void
Foo
(
string
[]
b
)
7
{
8
}
9
10
public void
Foo
(
ref string
i
)
11
{
12
}
13
14
public void
Foo
(
int
i
)
15
{
16
}
17
}
18
19
class
D
20
{
21
static void
Main
()
22
{
23
X x
=
null
;
24
x
.
Foo
(
"hola"
);
25
}
26
}
27