2002-06-29 Nick Drochak <ndrochak@gol.com>
authorNick Drochak <nickd@mono-cvs.ximian.com>
Sun, 29 Jun 2003 14:10:34 +0000 (14:10 -0000)
committerNick Drochak <nickd@mono-cvs.ximian.com>
Sun, 29 Jun 2003 14:10:34 +0000 (14:10 -0000)
* NamedPermissionSet.cs : Fix buglet/typo/thinko. Thank you unit tests.

svn path=/trunk/mcs/; revision=15724

mcs/class/corlib/System.Security/ChangeLog
mcs/class/corlib/System.Security/NamedPermissionSet.cs

index 256f2f1c7863bc56de3a9fe7316647e7cf918490..08b4587f0d68b7aa764f0b07c8d3ef4ac42ff97f 100755 (executable)
@@ -1,3 +1,7 @@
+2002-06-29  Nick Drochak  <ndrochak@gol.com>
+
+       * NamedPermissionSet.cs : Fix buglet/typo/thinko. Thank you unit tests.
+
 2003-06-28  Sebastien Pouliot  <spouliot@videotron.ca>
 
        * CodeAccessPermission.cs: Added missing methods. Removed old XML
index 73295301e49d2c56d2b5e3ff61e21d981c9e4608..c766134d6b0a1fc38d0763475556cda9cfdf80c7 100644 (file)
@@ -39,7 +39,7 @@ namespace System.Security {
                public string Name {
                        get { return name; }
                        set { 
-                               if ((name == null) || (name == String.Empty)) 
+                               if ((value == null) || (value == String.Empty)) 
                                        throw new ArgumentException ("invalid name");
                                name = value; 
                        }