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
Another dist build fix for rx integration, move *.cs file to safe-ish path.
[mono-project.git]
/
mcs
/
tests
/
gtest-optional-14.cs
blob
de7f1d6ca6c22f914424d699d050185857fcd8e6
1
class
A
2
{
3
public int
GetValues
(
string
[]
s
,
string value
=
null
)
4
{
5
return
1
;
6
}
7
8
public int
GetValues
(
string
s
,
params string
[]
args
)
9
{
10
return
2
;
11
}
12
}
13
14
15
class
B
16
{
17
public static int
Main
()
18
{
19
var
a
=
new
A
();
20
if
(
a
.
GetValues
(
null
) !=
1
)
21
return
1
;
22
23
return
0
;
24
}
25
}