[Mono-bugs] [Bug 376619] New: ListChangedEventArgs should set oldIndex to -1 when using Constructor that does not take oldIndex as a parameter
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Apr 2 23:37:21 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=376619
Summary: ListChangedEventArgs should set oldIndex to -1 when
using Constructor that does not take oldIndex as a
parameter
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: albright at wesay.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
ListChangedEventArgs e = new ListChangedEventArgs(ListChangedType.ItemAdded,
newIndex);
Assert.AreEqual(-1, e.OldIndex);
--
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.
More information about the mono-bugs
mailing list