// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
//
// (C) 2001 Ximian, Inc. http://www.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.
//
+using System.Runtime.InteropServices;
+
namespace System.Security.Permissions {
+#if NET_2_1 && !MONOTOUCH
+ [Obsolete ("CAS support is not available with Silverlight applications.")]
+#endif
+ [ComVisible (true)]
[Flags]
[Serializable]
public enum SecurityPermissionFlag {
RemotingConfiguration = 0x00000800,
Infrastructure = 0x00001000,
-#if ! NET_1_0
+
BindingRedirects = 0x00002000,
-#endif
+
AllFlags = Assertion | UnmanagedCode | SkipVerification | Execution | ControlThread
| ControlAppDomain | ControlDomainPolicy | ControlEvidence | ControlPolicy
| ControlPrincipal | Infrastructure | RemotingConfiguration | SerializationFormatter
-#if ! NET_1_0
| BindingRedirects
-#endif
} // SecurityPermissionFlag
} // System.Security.Permissions