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 [EMAIL PROTECTED]

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

--- shadow/78654        2006-06-15 08:12:24.000000000 -0400
+++ shadow/78654.tmp.2065       2006-06-15 08:12:24.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 78654
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Debian Woody
+OS Details: Debian Sid
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Default values for non-string type attributes are not converted to 
the appropriate type for ApplicationSettingsBase.
+
+Description of Problem:
+ApplicationSettingsBase sets up the settings properties with default values
+which are all strings regardless of the type of the property.
+This causes programs to crash which have been ported from Microsoft
+implementation of .Net as the autogenerated settings code blindly casts to
+the correct type in the getter for each property.
+
+Attached is a patch to use type converter to convert from string to the type.
+This will throw a NotSupportedException if the type cannot be converted
+from string, which may or maynot be the optimal design.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to