Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-438.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8fda9b497b76bb4e0e8953ca3a1db6b90ec508b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// bug #67711
using System;
using System.Security;
using System.Security.Permissions;

public class Program {

        static public void Main (string [] args)
        {
                SecurityAction a = SecurityAction.Demand;
                switch (a) {
                        case (SecurityAction)13:
                        case SecurityAction.Demand:
                                Console.WriteLine ("ok");
                        break;
                }
        }
}