repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move Enum and CorElementType to shared (dotnet/coreclr#23177)
[mono-project.git]
/
mcs
/
tests
/
test-163.cs
blob
67674b9505cf84a8f7e26b5f065a922be329c8d8
1
using
System
;
2
3
public class
Blah
{
4
5
static int
Foo
(
string
s
)
6
{
7
return
2
;
8
}
9
10
static int
Foo
(
object
o
)
11
{
12
return
1
;
13
}
14
15
public static int
Main
()
16
{
17
int
i
=
Foo
(
null
);
18
19
if
(
i
==
1
) {
20
Console
.
WriteLine
(
"Wrong method "
);
21
return
1
;
22
}
23
24
return
0
;
25
}
26
27
}
28
29
30