projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2009-07-11 Michael Barker <mike@middlesoft.co.uk>
[mono.git]
/
mcs
/
errors
/
cs0121-8.cs
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
}