Author: miguel Date: 2007-05-11 00:42:37 -0400 (Fri, 11 May 2007) New Revision: 77191
Added: trunk/mcs/class/corlib/System.Security/SecuritySafeCriticalAttribute.cs Modified: trunk/mcs/class/corlib/corlib.dll.sources Log: Add for the 2.1 profile Added: trunk/mcs/class/corlib/System.Security/SecuritySafeCriticalAttribute.cs =================================================================== --- trunk/mcs/class/corlib/System.Security/SecuritySafeCriticalAttribute.cs 2007-05-11 02:19:27 UTC (rev 77190) +++ trunk/mcs/class/corlib/System.Security/SecuritySafeCriticalAttribute.cs 2007-05-11 04:42:37 UTC (rev 77191) @@ -0,0 +1,45 @@ +// +// System.Security.SecuritySafeCriticalAttribute implementation +// +// Author: +// Sebastien Pouliot <[EMAIL PROTECTED]> +// +// Copyright (C) 2005 Novell, Inc (http://www.novell.com) +// Copyright (C) 2007 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 +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// 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")] + public sealed class SecuritySafeCriticalAttribute : Attribute { + + public SecuritySafeCriticalAttribute () + : base () + { + } + } +} + +#endif Modified: trunk/mcs/class/corlib/corlib.dll.sources =================================================================== --- trunk/mcs/class/corlib/corlib.dll.sources 2007-05-11 02:19:27 UTC (rev 77190) +++ trunk/mcs/class/corlib/corlib.dll.sources 2007-05-11 04:42:37 UTC (rev 77191) @@ -1058,6 +1058,7 @@ System.Security/SecurityFrame.cs System.Security/SecurityException.cs System.Security/SecurityManager.cs +System.Security/SecuritySafeCriticalAttribute.cs System.Security/SecurityTransparentAttribute.cs System.Security/SecurityTreatAsSafeAttribute.cs System.Security/SecurityZone.cs _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
