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
[loader] LoadFrom of problematic images should reprobe
[mono-project.git]
/
mcs
/
errors
/
cs0121-8.cs
blob
776941a35ff4066fb2c7dfb3149145053fb45ae0
1
// CS0121: The call is ambiguous between the following methods or properties: `C.Foo(byte)' and `C.Foo(int)'
2
// Line: 18
3
4
class
C
5
{
6
static int
Foo
(
byte
b
=
9
)
7
{
8
return
4
;
9
}
10
11
static int
Foo
(
int
i
=
8
)
12
{
13
return
2
;
14
}
15
16
public static void
Main
()
17
{
18
Foo
();
19
}
20
}