2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Mon, 30 Aug 2004 19:23:13 +0000 (19:23 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Mon, 30 Aug 2004 19:23:13 +0000 (19:23 -0000)
commit909e5a76da5307e36000ed3c23bba90b38e26306
tree97bf19f15c01f8d8d65d7469088f0454c90e282b
parent9d8a237ff86ff78e4e277b814d28ec0e40d6fd7b
2004-08-30  Sebastien Pouliot  <sebastien@ximian.com>

* NamedPermissionSet.cs: Fixed Description in copies, GetHashCode and
Equals (for NET_2_0). Fixed handling of null Name when deserialized
from XML.
* PermissionSet.cs: AddPermission now unions permissions of the same
type. CopyTo throw (most) exceptions only if there are items in the
set. Implemented Demand (but without support for Assert, Deny and
PermitOnly). Fixed deserialized from XML when no class is specified.
Started implementation of ConvertPermissionSet (error cases). Fixed
Intersect to be compatible (including bugs like FDBK14612) with MS.
RemovePermission now compatible with MS (bug? FDBK14622). Fixed Union
to work with permissions that do not implement IUnrestrictedPermission.

svn path=/trunk/mcs/; revision=33061
mcs/class/corlib/System.Security/ChangeLog
mcs/class/corlib/System.Security/NamedPermissionSet.cs
mcs/class/corlib/System.Security/PermissionSet.cs