[Mono-bugs] [Bug 57137][Maj] New - TypeConverter.GetConverter fails for types without TypeConverterAttribute

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 16 Apr 2004 10:40:46 -0400 (EDT)

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 joergr@voelcker.com.


--- shadow/57137	2004-04-16 10:40:46.000000000 -0400
+++ shadow/57137.tmp.6141	2004-04-16 10:40:46.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 57137
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: JoergR@voelcker.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: TypeConverter.GetConverter fails for types without TypeConverterAttribute
+Description of Problem:
+When calling TypeDescriptor.GetConverter for a type without
+TypeConverterAttribute it fails with an exception.
+Steps to reproduce the problem:
+1. Compile attached sample.
+2. Run.
+Actual Results:
+Exception occured: System.ArgumentException: Type '' not found
+in <0x0017a> System.ComponentModel.TypeDescriptor:GetTypeFromName
+in <0x000d1> System.ComponentModel.TypeDescriptor:GetConverter (System.Type)
+in <0x0001d> Test:Main ()
+Expected Results:
+Converter: System.ComponentModel.BooleanConverter
+How often does this happen? 
+Additional Information: