[Mono-bugs] [Bug 77500][Nor] Changed - [PATCH] XmlCustomFormatter / XmlSerializationWriter fixes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 8 03:48:11 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 atsushi at ximian.com.

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

--- shadow/77500	2006-02-08 03:44:45.000000000 -0500
+++ shadow/77500.tmp.8482	2006-02-08 03:48:11.000000000 -0500
@@ -1,17 +1,17 @@
 Bug#: 77500
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Sys.XML
-AssignedTo: atsushi at ximian.com                            
+AssignedTo: lluis at ximian.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: [PATCH] XmlCustomFormatter / XmlSerializationWriter fixes
@@ -51,6 +51,24 @@
 tests covering these changes.
 
 ------- Additional Comments From gert.driesen at pandora.be  2006-02-08 03:44 -------
 Created an attachment (id=16460)
 Fixes for XmlCustomerFormatter, and implemented 2.0 methods for XmlSerializationWriter
 
+
+------- Additional Comments From atsushi at ximian.com  2006-02-08 03:48 -------
+Just curious,
+
++#if NET_2_0
++				if (typeName != null)
++					throw new InvalidOperationException (string.Format
+(CultureInfo.CurrentCulture,
++						"'{0}' is not a valid value for {1}.", value, typeName));
++				else
++					throw new InvalidOperationException (string.Format
+(CultureInfo.CurrentCulture,
++						"'{0}' is not a valid value.", value));
++#else
++				return value.ToString ();
++#endif
+
+Shouldn't value.ToString() above actually be valueToProcess ?


More information about the mono-bugs mailing list