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
remove NotWorking
[mcs.git]
/
tests
/
gtest-351.cs
blob
0607f0c263ef7d45a273bfb5cac0c4be237350b0
1
using
System
;
2
3
class
TestThing
4
{
5
public int
SetEnum
(
string
a
,
Enum b
)
6
{
7
return
0
;
8
}
9
public int
SetEnum
(
int
a
,
Enum b
)
10
{
11
return
1
;
12
}
13
}
14
15
class
Test
16
{
17
public static int
Main
(
string
[]
args
)
18
{
19
DayOfWeek
?
e
=
DayOfWeek
.
Monday
;
20
TestThing t
=
new
TestThing
();
21
return
t
.
SetEnum
(
"hi"
,
e
);
22
}
23
}