+2005-01-18 Sebastien Pouliot <sebastien@ximian.com>
+
+ * Evidence.cs: Fix problem with default evidence when ICU is enabled.
+ Fix bug #71366.
+
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* Hash.cs: Fix regression in 2.0 to load default (hash) evidences.
//
using System.Collections;
+using System.Globalization;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
e.AddHost (new Hash (a));
// non local files (e.g. http://) also get a Site evidence
- if (!aname.ToUpper ().StartsWith ("FILE://")) {
+ if (String.Compare ("FILE://", 0, aname, 0, 7, true, CultureInfo.InvariantCulture) != 0) {
e.AddHost (Site.CreateFromUrl (aname));
}