https://bugzilla.novell.com/show_bug.cgi?id=427561
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=427561#c1 Nagappan A <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] AssignedTo|mono-bugs@lists.ximian.com |[EMAIL PROTECTED] --- Comment #1 from Nagappan A <[EMAIL PROTECTED]> 2008-09-18 16:29:21 MDT --- Index: ListViewItem.cs =================================================================== --- ListViewItem.cs (revision 113478) +++ ListViewItem.cs (working copy) -1351,6 +1351,11 @@ { this.owner = owner; this.list = new ArrayList (); + try { + Add (owner.Text); + } catch { + // Ignore to mimic MS.NET behavior + } } #endregion // Public Constructors But I could see failure in the existing tests under WinForms directory with my patch :( Failures: 1) MonoTests.System.Windows.Forms.ListViewItemTest.ListViewItemTestClone : #1 expected:<Color [Blue]> but was:<Color [WindowText]> at MonoTests.System.Windows.Forms.ListViewItemTest.ListViewItemTestClone () [0x0007e] in /home/nags/work/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ListViewItemTest.cs:645 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/nags/work/mcs/class/corlib/System.Reflection/MonoMethod.cs:159 -- 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 - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs