projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[msbuild] bump to xplat-master branch HEAD
[mono.git]
/
mcs
/
tests
/
test-named-07.cs
1
class C
2
{
3
static int Foo (object arg, bool b1 = false, bool b2 = false, bool b3 = true, object o2 = null)
4
{
5
if ((int) arg != 1)
6
return 1;
7
8
if (b1)
9
return 2;
10
11
if (b2)
12
return 3;
13
14
if (!b3)
15
return 4;
16
17
if ((string) o2 != "s")
18
return 5;
19
20
return 0;
21
}
22
23
public static int Main ()
24
{
25
object o = "s";
26
return Foo (1, b3 : true, o2 : o);
27
}
28
}