[Mono-bugs] [Bug 77726][Nor] New - InvalidCastException on ISupportInitialize.BeginInit()

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 7 18:54:20 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 matt at use.net.

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

--- shadow/77726	2006-03-07 18:54:20.000000000 -0500
+++ shadow/77726.tmp.19516	2006-03-07 18:54:20.000000000 -0500
@@ -0,0 +1,42 @@
+Bug#: 77726
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: matt at use.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: InvalidCastException on ISupportInitialize.BeginInit()
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. with gmcs -t:winexe, compile the code at 
+http://www.clock.org/~matt/tmp/myfriendbot.cs
+2. run the prorgram
+
+
+Actual Results:
+Unhandled Exception: System.InvalidCastException: Cannot cast from source
+type to destination type. in [0x002dc] (at myfriendbot.cs:97)
+myspacebot.MyspaceAutomataGUI:InitializeComponent()
+
+that line looks like this
+((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
+
+Expected Results:
+Should just run, as in MS.NET 2.0.
+
+Additional notes:
+This is all code generated by the VS2005 WinForms designer.


More information about the mono-bugs mailing list