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
add failing test for bnc550722
[mcs.git]
/
tests
/
test-676.cs
blob
cd3d4b196c3ecf55ca5e15d23baac8a85624ff0d
1
using
System
;
2
3
namespace
N
4
{
5
class
Item
6
{
7
public
Item
()
8
{
9
}
10
11
public enum
ItemSlot
12
{
13
ItemM1
,
14
ItemM2
15
}
16
}
17
}
18
19
namespace
N
20
{
21
public class
Test
22
{
23
Item
this
[
Test slot
]
24
{
25
get
{ return null; }
26
}
27
28
void
Foo
(
Item
.
ItemSlot i
)
29
{
30
object
oo
=
this
[
null
];
31
32
switch
(
i
)
33
{
34
case
Item
.
ItemSlot
.
ItemM1
:
35
break
;
36
}
37
}
38
39
public static int
Main
()
40
{
41
return
0
;
42
}
43
}
44
}