[Mono-bugs] [Bug 39724][Nor] Changed - wrong ArrayList.GetRange() implementation

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sat, 3 May 2003 13:34:48 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=39724

--- shadow/39724	Fri May  2 22:42:24 2003
+++ shadow/39724.tmp.21787	Sat May  3 13:34:48 2003
@@ -1,13 +1,13 @@
 Bug#: 39724
 Product: Mono/Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: 001 One hour
 Priority: Normal
 Component: CORLIB
 AssignedTo: bmaurer@users.sf.net                            
 ReportedBy: gmit@inet.hr               
 QAContact: mono-bugs@ximian.com
@@ -18,6 +18,10 @@
 
 I believe you have a bug in ArrayList.GetRange function. In your code, 
 copy of the ArrayList is made, while in MSDN is stated that GetRange 
 should return a view (wrapper) to the original ArrayList which means it's 
 fast and modifications to the view also change it's parent (which is not 
 the case with your's implementation).
+
+------- Additional Comments From bmaurer@users.sf.net  2003-05-03 13:34 -------
+Ok, made us do it like Microsoft. The changes are simple, and there
+are already some NUnit tests for them, so I am commiting.