+2004-10-04 Sebastien Pouliot <sebastien@ximian.com>
+
+ * tabledefs.h: Added "internal" security actions to support non-CAS
+ permissions NonCasDemand, NonCasLinkDemand and NonCasInheritance.
+ Note: they do not seems to be used anymore in 2.0 (new metadata format)
+
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_InternalInvoke): Throw an exception when calling
FILE_CONTAINS_NO_METADATA = 1
};
-/* keep in synch with System.Security.Permissions.SecurityAction enum */
+/* keep in synch with System.Security.Permissions.SecurityAction enum
+ (except for the special non-CAS cases) */
enum {
SECURITY_ACTION_DEMAND = 2,
SECURITY_ACTION_ASSERT = 3,
SECURITY_ACTION_REQMIN = 8,
SECURITY_ACTION_REQOPT = 9,
SECURITY_ACTION_REQREFUSE = 10,
- /* New in Fx 2.0 */
+ /* Special cases (non CAS permissions) */
+ SECURITY_ACTION_NONCASDEMAND = 13,
+ SECURITY_ACTION_NONCASLINKDEMAND = 14,
+ SECURITY_ACTION_NONCASINHERITANCE = 15,
+ /* Fx 2.0 actions (for both CAS and non-CAS permissions) */
SECURITY_ACTION_LINKDEMANDCHOICE = 16,
SECURITY_ACTION_INHERITDEMANDCHOICE = 17,
SECURITY_ACTION_DEMANDCHOICE = 18