[Mono-bugs] [Bug 78545][Nor] New - KeysConverter fails on modifier only keys

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 31 01:07:37 EDT 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 leppie at webmail.co.za.

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

--- shadow/78545	2006-05-31 01:07:37.000000000 -0400
+++ shadow/78545.tmp.23723	2006-05-31 01:07:37.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 78545
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: XP SP2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: leppie at webmail.co.za               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: KeysConverter fails on modifier only keys
+
+Nice easy one :)
+
+using System;
+using System.ComponentModel;
+using System.Windows.Forms;
+
+class Foo
+{
+	static void Main()
+	{
+		TypeConverter tc = new KeysConverter();
+		tc.ConvertFrom("Ctrl");
+	}
+}
+
+> mono TypeConvertor.bug.exe
+Unhandled Exception: System.ArgumentException: The requested value `Ctrl' 
+was not found ---> System.FormatException: Input string was not in the 
+correct format


More information about the mono-bugs mailing list