// 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