http://bugzilla.novell.com/show_bug.cgi?id=522474


           Summary: [PATCH] Differences between .NET and mono
                    ComponentModel.Container Dispose behavior
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=305382)
 --> (http://bugzilla.novell.com/attachment.cgi?id=305382)
Test Case showing Difference of behaviour

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11)
Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11

monos implementation of System.ComponentModel.Container Dispose(bool) method
exhibits different behavior than .NET.

Attaching Test case showing the issue.
Attaching Patch fixing this issue.


Reproducible: Always

Steps to Reproduce:
1. Compile and run Attach test case
2.
3.
Actual Results:  
Dispose MyDialog(bool)
MyComp.DoSomthing IAmDisposed = False
Disposing MyComp
Disposing MyDialog
Dispose MyDialog(bool)
MyComp.DoSomthing IAmDisposed = True

Expected Results:  
Dispose MyDialog(bool)
MyComp.DoSomthing IAmDisposed = False
Disposing MyDialog
Disposing MyComp
Dispose MyDialog(bool)
MyComp.DoSomthing IAmDisposed = True

-- 
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to