Fixme, hope this is right.
authorMartin Baulig <martin@novell.com>
Wed, 1 Sep 2004 15:30:33 +0000 (15:30 -0000)
committerMartin Baulig <martin@novell.com>
Wed, 1 Sep 2004 15:30:33 +0000 (15:30 -0000)
svn path=/trunk/mcs/; revision=33161

mcs/class/corlib/System.Security/SecurityManager.cs

index 4cc9a6f5d584af9f06ce5f4125ef346a474c633e..88a5e4cf36016898ce979bf02c582b72d0f59820 100644 (file)
@@ -198,7 +198,7 @@ namespace System.Security {
                public static PermissionSet ResolvePolicy (Evidence[] evidences)
                {
                        if (evidences == null)
-                               throw new PermissionSet (PermissionState.None);
+                               return new PermissionSet (PermissionState.None);
 
                        // probably not optimal
                        PermissionSet ps = null;