https://bugzilla.novell.com/show_bug.cgi?id=427561


           Summary: ListViewSubItemCollection different behaviour in .net &
                    mono enviroment
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Description of Problem:


Steps to reproduce the problem:

System.Windows.Forms.ListViewItem.ListViewSubItemCollection subItems; 
            subItems = new
System.Windows.Forms.ListViewItem.ListViewSubItemCollection(new
ListViewItem("")); 
            subItems.Add("bla bla"); 
             Assert.AreEqual(subItems.Count,2);

Actual Results:
1

Expected Results:
2

How often does this happen? 
Always

Additional Information:

If i run the following test using .net environment subItems.Count returns 2, if
I do it using mono environment subItems.Count returns 1. 

I'm having other problems also with the list view so my question is if there
are many bugs reported about this control and related classes.


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

Reply via email to