[Mono-bugs] [Bug 77242][Nor] Changed - [PATCH] boo doesn't work in mono - resourcemanager error

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 13 03:52:05 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by robertj at gmx.net.

http://bugzilla.ximian.com/show_bug.cgi?id=77242

--- shadow/77242	2006-02-09 18:58:45.000000000 -0500
+++ shadow/77242.tmp.4705	2006-03-13 03:52:05.000000000 -0500
@@ -10,13 +10,13 @@
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: doug00 at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
+Cc: peter at novonyx.com,robertj at gmx.net
 Summary: [PATCH] boo doesn't work in mono - resourcemanager error
 
 The boo compiler (booc) and other boo tools haven't worked in mono for a
 good while due some some kind of resource manager related bug in mono
 (including mono 1.1.13 released today).
 
@@ -79,6 +79,38 @@
 ------- Additional Comments From robertj at gmx.net  2006-01-16 15:32 -------
 I've reverted and I'm reviewing it.
 
 
 ------- Additional Comments From gonzalo at ximian.com  2006-02-09 18:58 -------
 --> mono-bugs. I don't know why this is assigned to me.
+
+------- Additional Comments From robertj at gmx.net  2006-03-13 03:52 -------
+I think I found the culprit: CultureInfo comparisons seem
+to fail for some reason:
+
+
+using System;
+using System.Globalization;
+
+class T
+{
+	static void Main ()
+	{
+		CultureInfo ci = new CultureInfo ("en");
+		Console.WriteLine (ci);
+		Console.WriteLine (ci.Parent);
+		Console.WriteLine (ci.Parent == CultureInfo.InvariantCulture);
+		Console.WriteLine (ci.Parent.LCID == CultureInfo.InvariantCulture.LCID);
+	}
+}
+
+
+so loops like
+
+while (culture != CultureInfo.InvariantCulture) {
+    culture = culture.Parent
+}
+
+are deadly.
+
+Still investigating ...
+


More information about the mono-bugs mailing list