* CodeAccessSecurityAttribute.cs, SecurityAction.cs,
SecurityAttribute.cs, SecurityPermissionAttribute.cs: Add [Obsolete]
on NET_2_1 since CAS stuff is not available in Moonlight. Note that
the types needs to be present because compiler insert them inside
assemblies.
svn path=/trunk/mcs/; revision=133279
* CodeAccessSecurityAttribute.cs: Under 2.0 the ctor is protected.
* IsolatedStoragePermissionAttribute.cs: Under 2.0 the ctor is
protected.
* IsolatedStoragePermission.cs: Under 2.0 the ctor is protected.
* SecurityAttribute.cs: Under 2.0 the ctor is protected.
svn path=/trunk/mcs/; revision=61264
* CodeAccessSecurityAttribute.cs: Namespace clean-up (removing System.)
* EnvironmentPermission.cs: Common exception for flags validation.
Fixed Fx 2.0 return values (String.Empty not null).
* EnvironmentPermissionAttribute.cs: Namespace clean-up.
* FileIOPermission.cs: Updated to use the common template. Added Fx
2.0 properties.
* FileIOPermissionAttribute.cs: Added Fx 2.0 properties.
* HostProtectionAttribute.cs: Namespace clean-up (removing System.)
* IsolatedStoragePermissionAttribute.cs: Namespace cleanup.
* KeyContainerPermissionAttribute.cs: Added default values. Removed
unrequired flags validations. Can now create unrestricted permissions.
* PermissionSetAttribute.cs: Added new Fx 2.0 Hex property.
* PrincipalPermission.cs: Updated to use the common template.
* PrincipalPermissionAttribute.cs: Namespace cleanup.
* PublisherIdentityPermissionAttribute.cs: Namespace cleanup.
* RegistryPermission.cs: Updated to use the common template.
* RegistryPermissionAttribute.cs: Added Fx 2.0 properties.
* SecurityAttribute.cs: Namespace clean-up (removing System.)
* SiteIdentityPermission.cs: Updated to use the common template.
* SiteIdentityPermissionAttribute.cs: Move unrestricted responsability
check to SiteIdentityPermission constructor.
* StrongNamePermissionAttribute.cs: Move unrestricted responsability
check to StrongNameIdentityPermission constructor.
* UrlIdentityPermission.cs: Updated to use the common template.
* UrlIdentityPermissionAttribute.cs: Move unrestricted responsability
check to UrlIdentityPermission constructor.
* ZoneIdentityPermissionAttribute.cs: Move unrestricted responsability
check to ZoneIdentityPermission constructor.
svn path=/trunk/mcs/; revision=32537
* IBuiltInPermission.cs: Added a new internal enum to store the index
of all corlib's permissions (as the index can changes in newer
versions of the framework, e.g. 2.0).
* SecurityAttribute.cs: Removed the validation when setting the Action
property to match MS implementation.
* UIPermission.cs: Update to use the common template. Completed TODOs
and now pass all unit tests.
svn path=/trunk/mcs/; revision=32425
* EnvironmentPermission.cs: Fixed return value to match unit tests.
* EnvironmentPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* FileDialogPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* FileIOPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* IsolatedStorageFilePermissionAttribute.cs: Implemented
CreatePermission method. Updated AttributeUsage using 1.2 documentation.
* IsolatedStoragePermissionAttribute.cs: Updated AttributeUsage using
1.2 documentation.
* PermissionSetAttribute.cs: Prepared CreatePermissionSet. Updated
AttributeUsage using 1.2 documentation.
* PrincipalPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Fixed AttributeUsage (more limited than others).
* PublisherIdentityPermissionAttribute.cs: Updated CreatePermission to
throw ArgumentException for Unrestricted permission. Updated
AttributeUsage using 1.2 documentation.
* ReflectionPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* RegistryPermission.cs: Implemented IsUnrestricted for unit tests.
* RegistryPermissionAttribute.cs: Implemented CreatePermission method.
Updated AttributeUsage using 1.2 documentation.
* SecurityAttribute.cs: m_Action is now assigned in constructor.
* SecurityPermission.cs: Completed class.
* SecurityPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Added missing [Serializable] attribute and
UnmanagedCode property. Changed -= to &= to preserve flags (e.g.
setting a flags to false more than one time).
* SecurityPermissionFlag.cs: Cleanup unused XML tags.
* SiteIdentityPermission.cs: Fixed exception for constructor and Site
property to match unit tests.
* SiteIdentityPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* StrongNameIdentityPermission.cs: Fixed default values for Name and
Version to match unit tests.
* StrongNamePermissionAttribute.cs: Updated CreatePermission to
throw ArgumentException for Unrestricted permission. Updated
AttributeUsage using 1.2 documentation.
* UIPermission.cs: Fixed default values in constructor to match unit
tests.
* UIPermissionAttribute.cs: Updated CreatePermission to throw
ArgumentException for Unrestricted permission. Fixed strange case for
null URL. Updated AttributeUsage using 1.2 documentation.
* UrlIdentityPermission.cs: Url property now throws an exception to
match unit tests.
* UrlIdentityPermissionAttribute.cs: Updated CreatePermission to throw
ArgumentException for Unrestricted permission. Updated AttributeUsage
using 1.2 documentation.
* ZoneIdentityPermissionAttribute.cs: Updated CreatePermission to throw
ArgumentException for Unrestricted permission. Updated AttributeUsage
using 1.2 documentation.
svn path=/trunk/mcs/; revision=21543