* EnvironmentPermissionAttribute.cs, FileIOPermissionAttribute.cs,
HostProtectionAttribute.cs, ReflectionPermissionAttribute.cs,
SecurityPermissionAttribute.cs, StrongNamePermissionAttribute.cs:
Return a null IPermission for NET_2_1
* PermissionSetAttribute.cs: Return null when paring from XML for
NET_2_1
svn path=/trunk/mcs/; revision=142215
* ReflectionPermission.cs: RestrictedMemberAccess can be set.
* ReflectionPermissionFlag.cs: Add [Obsolete] on NET_4_0.
svn path=/trunk/mcs/; revision=139075
* 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
* FileIOPermission.cs: Fix union of paths (#79118). Implement subpaths
handling correctly. Change some internal methods to static.
svn path=/trunk/mcs/; revision=64145
* 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
* FileIOPermission.cs: Ensure the "bad" path characters match the OS
ones. Reworked the code to avoid the modifiable array trap present in
Fx 1.x and to be more precise in the 2.0 profile.
svn path=/trunk/mcs/; revision=59197
* IsolatedStoragePermission.cs: Updated FromXml with
the latest signature modifications to Parse methods
inside System ns.
svn path=/trunk/mcs/; revision=53032
* HostProtectionAttribute.cs: Fixes flag cleaning logical
operation (found by Jordi).
* SecurityPermissionAttribute.cs: Fixes flag cleaning logical
operation (this is the original sinner ;-).
svn path=/trunk/mcs/; revision=44708
* IBuiltInPermission.cs: Fixed index values for GacIdentityPermission
and KeyContainerPermission. Removed DataProtectionPermission.
* IsolatedStorageContainment.cs: Fixed ApplicationIsolationByUser
value to 0x15.
* UrlIdentityPermission.cs: Fixed differences between 1.x and 2.0.
svn path=/trunk/mcs/; revision=43611
* FileIOPermission.cs: Now use InsecureGetFullPath to add paths to
it's lists (as GetFullPath is more restricted than the permission).
Removed unrequired use of GetFullPath in union and subset ops.
* IsolatedStoragePermission.cs: Added InheritanceDemand for
ControlEvidence and ControlPolicy on class.
svn path=/trunk/mcs/; revision=42216
* GacIdentityPermission.cs: Fixed warning.
* StrongNameIdentityPermission.cs: Added support for multiple entries
for NET_2_0 profile (required for SecurityAction.*DemandChoice).
svn path=/trunk/mcs/; revision=41172
* PermissionSetAttribute.cs: Throw proper exception if XML cannot be
decoded. Actually load (not just creates) the XML permissions.
svn path=/trunk/mcs/; revision=38726
* PermissionSetAttribute.cs: Implemented Hex property (2.0) now that
it is documented.
* RegistryPermission.cs: Added text to MonoTODO, i.e. lack of access
control support.
* KeyContainerPermissionFlags.cs: Fixed values for ViewAcl and
ChangeAcl (a hole as been left). This also corrects AllFlags.
svn path=/trunk/mcs/; revision=38539
* PrincipalPermission.cs: Fixed bug in Intersect (thanks to Alain
Normandin). Changed XML tag to "Permission" (not "IPermission").
svn path=/trunk/mcs/; revision=35030
* PrincipalPermission.cs: Fixed bug where a change to a permission
(e.g. Copy, Union) could affect multiple instances. Fixed FromXml
to clear existing entries.
svn path=/trunk/mcs/; revision=34724
* EnvironmentPermission.cs: Fixed GetPathList which has little
differences between Fx 1.1 and 2.0. Required to run the MSDN samples.
* FileDialogPermission.cs: Fixed IsSubsetOf and Intersect.
* RegistryPermission.cs: Fixed ToXml to avoid NullReferenceException.
Required to run the MSDN library samples.
* SecurityPermission.cs: Return null for an empty intersection.
Required to run the MSDN library samples.
* SiteIdentityPermission.cs: Implemented wildcard support in
Intersect, IsSubsetOf and Union.
* StrongNameIdentityPermission.cs: Implemented wildcard support in
Intersect, IsSubsetOf and Union. Fixed ToXml to pass the MSDN samples.
* UrlIdentityPermission.cs: Implemented wildcard support in Intersect,
IsSubsetOf and Union. Fixed difference between Fx1.1 and 2.0 in Copy.
svn path=/trunk/mcs/; revision=33268
* SiteIdentityPermission.cs: Updated to match latest unit tests, i.e.
match Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
* StrongNameIdentityPermission.cs: Updated to match latest unit tests,
i.e. match Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
* UrlIdentityPermission.cs: Updated to match latest unit tests, i.e.
match Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
svn path=/trunk/mcs/; revision=33205
* ZoneIdentityPermission.cs: Do not include "Zone" attribute in XML if
zone == NoZone (so the permission can be considered as empty).
svn path=/trunk/mcs/; revision=33152
* UrlIdentityPermission.cs: Basic (without wildcards) implementation
for Intersect, IsSubsetOf and Union. Fixed to pass all new unit tests.
svn path=/trunk/mcs/; revision=32587
* SiteIdentityPermission.cs: Basic (without wildcards) implementation
for Intersect, IsSubsetOf and Union. Fixed to pass all new unit tests.
svn path=/trunk/mcs/; revision=32573
* 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
* IsolatedStorageContainment.cs: Added new enums values for NET_2_0.
* IsolatedStorageFilePermissionAttribute.cs: Removed unrequired using
clause.
* IsolatedStorageFilePermission.cs: Updated to use the common template.
Completed TODOs and now pass all unit tests.
* IsolatedStoragePermission.cs: Updated to use the common template.
Completed TODOs and now pass all unit tests.
svn path=/trunk/mcs/; revision=32490
* GacIdentityPermission.cs: Update to use the common template. Now
pass all unit tests.
* GacIdentityPermissionAttribute.cs: Added FIXME comment.
svn path=/trunk/mcs/; revision=32480
* StrongNameIdentityPermission.cs: Update to use the common template.
Completed TODOs and now pass all unit tests.
* StrongNamePermissionAttribute.cs: Fixed public key convertion (as it
wasn't base64 encoded).
* StrongNamePublicKeyBlob.cs: Made static FromString() more robust.
svn path=/trunk/mcs/; revision=32459