* WindowsPrincipal.cs: Call invariant ToUpper
svn path=/trunk/mcs/; revision=25949
+2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+ * WindowsPrincipal.cs: Call invariant ToUpper
+
2004-04-14 Sebastien Pouliot <sebastien@ximian.com>
* WindowsIdentity.cs: Implemented IDeserializationCallback and
m_roles = WindowsIdentity._GetRoles (Token);
}
#if !NET_1_0
- role = role.ToUpper ();
+ role = role.ToUpperInvariant ();
#endif
foreach (string check in m_roles) {
#if NET_1_0
return true;
#else
Console.WriteLine ("> {0}", check);
- if ((check != null) && (role == check.ToUpper ()))
+ if ((check != null) && (role == check.ToUpperInvariant ()))
return true;
#endif
}