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-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0121-8.cs
blob
75403fc34259a9f9ba0d1138a0493e6e2eda75a5
1
// CS0121: The call is ambiguous between the following methods or properties: `C.Foo(byte)' and `C.Foo(int)'
2
// Line: 18
3
// Compiler options: -langversion:future
4
5
class
C
6
{
7
static int
Foo
(
byte
b
=
9
)
8
{
9
return
4
;
10
}
11
12
static int
Foo
(
int
i
=
8
)
13
{
14
return
2
;
15
}
16
17
public static void
Main
()
18
{
19
Foo
();
20
}
21
}