2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Wed, 1 Sep 2004 12:25:44 +0000 (12:25 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Wed, 1 Sep 2004 12:25:44 +0000 (12:25 -0000)
commit198a381ea6a65f3a43886c7cf29ea7adfcd1fe6c
treee16dc9ee4dcb6054d4aac0d6609dad8475ed4fcc
parent7db07e84a1d7829f8ea01e27c2dfe5198fbd4145
2004-09-01  Sebastien Pouliot  <sebastien@ximian.com>

* NamedPermissionSet.cs: FromXml now calls base class instead of an
internal method of PermissionSet. This should allow class to inherit
from NamedPermissionSet properly.
* PermissionSet.cs: Added an internal PolicyLevel property to allow
policy file class name resolution. Fixed IsEmpty to return true if
the list contains "empty" permissions. Fixed Copy to copy permissions
even for unrestricted sets (again because of IUnrestrictedPermission).
* SecurityManager.cs: Fixed Resolve(Evidence) because permission
classes Intersect methods can either return null or an empty
PermissionSet.  Fixed ResolvePolicy(Evidence[]) for null (NET_2_0).

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