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
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
[mcs.git]
/
tests
/
test-544.cs
blob
5f93ad0dc0f0543382a771c3490c5b9649db873e
1
enum
ByteEnum
:
byte
{
2
One
=
1
,
3
Two
=
2
4
}
5
6
class
X
{
7
static void
Main
()
8
{
9
ByteEnum b
=
ByteEnum
.
One
;
10
11
switch
(
b
){
12
case
ByteEnum
.
One
:
return
;
13
case
ByteEnum
.
One
|
ByteEnum
.
Two
:
return
;
14
}
15
}
16
}
17