[Mono-bugs] [Bug 648403] New: SplitContainer does not implement ISupportInitialize

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 21 13:23:37 EDT 2010



           Summary: SplitContainer does not implement ISupportInitialize
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: VMWare
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: justin.mccarty at galaxyglobal.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: Yes

Description of Problem:
The splitcontainer class implement in Mono 2.8 does not implement the
System.ComponentModel.ISupportInitialize interface as defined by .Net 4.0.
Applications that contain a splitcontainer and use Generated code for visual
studio via the Form Editor generates a "System.InvalidCastException: Cannot
cast from source type to destination type." when run.

Steps to reproduce the problem:
1. Create a new form containing a SplitContainer
2. Compile the code through Visual Studio 2010 targeting .Net 4.0 Client
3. Run the application on Windows (works)
4. Run the application on Ubuntu using "mono <applicationName>"

Actual Results:
Unhandled Exception is thrown.

Expected Results:
New Form displayed on screen.

How often does this happen? 

Additional Information:
This invalid cast is not caught or warned even when using MonoDevelope to
compile the application. Running mono with MONO_LOG_LEVEL=debug does not
display a missing dll and displays that the 4.0 version of
System.Windows.Forms.dll is loaded

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list