2005-06-05 Peter Bartok <pbartok@novell.com>
[mono.git] / mcs / class / corlib / System.Security.Permissions / SecurityPermissionFlag.cs
1 // SecurityPermissionFlag.cs
2 //
3 // This code was automatically generated from
4 // ECMA CLI XML Library Specification.
5 // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
6 // Created: Wed, 5 Sep 2001 06:30:18 UTC
7 // Source file: AllTypes.xml
8 // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
9 //
10 // (C) 2001 Ximian, Inc.  http://www.ximian.com
11
12 //
13 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
14 //
15 // Permission is hereby granted, free of charge, to any person obtaining
16 // a copy of this software and associated documentation files (the
17 // "Software"), to deal in the Software without restriction, including
18 // without limitation the rights to use, copy, modify, merge, publish,
19 // distribute, sublicense, and/or sell copies of the Software, and to
20 // permit persons to whom the Software is furnished to do so, subject to
21 // the following conditions:
22 // 
23 // The above copyright notice and this permission notice shall be
24 // included in all copies or substantial portions of the Software.
25 // 
26 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
27 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
29 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
30 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
31 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
32 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33 //
34
35 namespace System.Security.Permissions {
36
37         [Flags]
38         [Serializable]
39         public enum SecurityPermissionFlag {
40
41                 NoFlags = 0x00000000,
42
43                 Assertion = 0x00000001,
44
45                 UnmanagedCode = 0x00000002,
46
47                 SkipVerification = 0x00000004,
48
49                 Execution = 0x00000008,
50
51                 ControlThread = 0x00000010,
52
53                 ControlEvidence = 0x00000020,
54
55                 ControlPolicy = 0x00000040,
56
57                 SerializationFormatter = 0x00000080,
58
59                 ControlDomainPolicy = 0x00000100,
60
61                 ControlPrincipal = 0x00000200,
62
63                 ControlAppDomain = 0x00000400,
64
65                 RemotingConfiguration = 0x00000800,
66
67                 Infrastructure = 0x00001000,
68 #if ! NET_1_0
69                 BindingRedirects = 0x00002000,
70 #endif
71                 AllFlags = Assertion | UnmanagedCode | SkipVerification | Execution | ControlThread
72                         | ControlAppDomain | ControlDomainPolicy | ControlEvidence | ControlPolicy
73                         | ControlPrincipal | Infrastructure | RemotingConfiguration | SerializationFormatter
74 #if ! NET_1_0
75                         | BindingRedirects
76 #endif
77         } // SecurityPermissionFlag
78
79 } // System.Security.Permissions