Merge pull request #3548 from cmp-/fix-sgen-resume-thread-win32
[mono.git] / mcs / class / corlib / System.Security / HostSecurityManagerFlags.cs
index e23a67958823eea4be5797015f8de53566a1919d..54e69440b50624c985cc4f66337b7bfbef09c108 100644 (file)
@@ -1,10 +1,10 @@
 //
-// System.Security.HostSecurityManagerFlags enumeration
+// System.Security.HostSecurityManagerOptions enumeration
 //
 // Author:
 //     Sebastien Pouliot  <sebastien@ximian.com>
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
-using System;
+using System.Runtime.InteropServices;
 
 namespace System.Security {
 
        [Flags]
+       [ComVisible (true)]
        [Serializable]
-       public enum HostSecurityManagerFlags {
+       public enum HostSecurityManagerOptions {
                None = 0,
-               HostRefusedSet = 1,
+               HostAppDomainEvidence = 1,
                HostPolicyLevel = 2,
                HostAssemblyEvidence = 4,
                HostDetermineApplicationTrust = 8,
-               AllFlags = HostAssemblyEvidence | HostDetermineApplicationTrust | HostPolicyLevel | HostRefusedSet
+               HostResolvePolicy = 16,
+               AllFlags = HostAppDomainEvidence | HostPolicyLevel | HostAssemblyEvidence | HostDetermineApplicationTrust | HostResolvePolicy
        }
 }
-
-#endif