2010-01-09 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Configuration / System.Configuration / ConfigurationPermission.cs
index 25c6885e4308deddc0c324257e36f7ffd8dff34a..b32fcbbe210ad2af7345af3cc1b0b4cbb8b8ad48 100644 (file)
@@ -58,7 +58,7 @@ namespace System.Configuration {
 
                         string unrestricted = securityElement.Attribute ("Unrestricted");
                         if (unrestricted != null) {
-                                this.unrestricted = (String.Compare (unrestricted, "true", true) == 0);
+                                this.unrestricted = (String.Compare (unrestricted, "true", StringComparison.InvariantCultureIgnoreCase) == 0);
                         }
                }