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

http://bugzilla.novell.com/show_bug.cgi?id=601766#c0


           Summary: WinForms TreeView: foreach (TreeNode node in
                    TreeNode.Nodes) loop behaves differently from .NET
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs@lists.ximian.com
        ReportedBy: lextu...@gmail.com
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2
(KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2

I use foreach loop to iterate a TreeNode.Nodes, and insert them into another
TreeNode.Nodes.

On Windows/.NET all TreeNodes are iterated and inserted, but on Mono/openSUSE
some nodes become missing.

A sample project is attached.

Reproducible: Always

Steps to Reproduce:
1. Compile and run the sample on Mono.
Actual Results:  
We can only see "one" and "three" are displayed.

Expected Results:  
We should see "one", "two", and "three" all are displayed.

-- 
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  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to