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


           Summary: ListViewSubItemCollection different behaviour in .net &
                    mono enviroment
           Product: Mono: Class Libraries
           Version: 2.0.x
          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:

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. 

  [Test] 
        public void ListViewSubItemCollectionTest() 
        { 
            System.Windows.Forms.ListViewItem.ListViewSubItemCollection
subItems; 
            subItems = new
System.Windows.Forms.ListViewItem.ListViewSubItemCollection(new
ListViewItem("")); 
            subItems.Add("bla bla"); 

            Console.WriteLine(subItems.Count); 
        } 

Steps to reproduce the problem:
1. 
2. 


Actual Results:
1

Expected Results:
2

How often does this happen? 
Always

Additional Information:


-- 
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