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
[tuner] handle the case with multiple "preserve" attributes
[mono-project.git]
/
mcs
/
tests
/
test-308.cs
blob
ca5d160c7ffcf0343774d76fb2513015dc298a69
1
using
System
;
2
using
System
.
Security
;
3
using
System
.
Security
.
Permissions
;
4
5
public class
Program
{
6
7
static public void
Main
(
string
[]
args
)
8
{
9
SecurityAction a
=
SecurityAction
.
Demand
;
10
switch
(
a
) {
11
case
(
SecurityAction
)
13
:
12
case
SecurityAction
.
Demand
:
13
Console
.
WriteLine
(
"ok"
);
14
break
;
15
}
16
}
17
}
18