[Test] Cleaned up how a bunch of tests were ignored
[mono.git] / mcs / class / corlib / System.Security / SecuritySafeCriticalAttribute.cs
index b46a754c77136159b1338f53d140f94bb0e32e08..06d0807c7fa5cf93f4fd0a86bd8cfcc0288b6b6e 100644 (file)
@@ -4,8 +4,7 @@
 // Author:
 //     Sebastien Pouliot  <sebastien@ximian.com>
 //
-// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
-// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2005,2007,2009 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_1
-
 namespace System.Security {
 
-       [AttributeUsage (AttributeTargets.All, AllowMultiple=false, Inherited=false)]
-       [MonoTODO ("Not supported by the runtime")]
+       [MonoTODO ("Only supported by the runtime when CoreCLR is enabled")]
+       [AttributeUsage (AttributeTargets.Delegate | AttributeTargets.Interface | AttributeTargets.Field | AttributeTargets.Method |
+                       AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
        public sealed class SecuritySafeCriticalAttribute : Attribute {
 
                public SecuritySafeCriticalAttribute ()
-                       : base ()
                {
                }
        }
 }
 
-#endif