[Mono-bugs] [Bug 82140][Min] New - ArrayList.Adapter(...).GetEnumerator(int, int) incorrect for NET_1_1
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jul 19 10:56:34 EDT 2007
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 juraj at hotfeet.ch.
http://bugzilla.ximian.com/show_bug.cgi?id=82140
--- shadow/82140 2007-07-19 10:56:34.000000000 -0400
+++ shadow/82140.tmp.30698 2007-07-19 10:56:34.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 82140
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details: FC6
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: juraj at hotfeet.ch
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: ArrayList.Adapter(...).GetEnumerator(int, int) incorrect for NET_1_1
+
+See "Remarks" on
+http://msdn2.microsoft.com/en-us/library/system.collections.arraylist.adapter.aspx
+
+"In the .NET Framework version 1.0 and 1.1, calling the
+GetEnumerator(Int32,Int32) method overload on the ArrayList wrapper
+returned an enumerator that treated the second argument as an upper
+bound rather than as a count. In the .NET Framework 2.0 the second
+argument is correctly treated as a count."
+
+Our ArrayListAdapter implementation always follows the 2.0 behaviour.
+Should we follow the "buggy" behaviour for the NET_1_1 profile that same
+way MS.net does?
More information about the mono-bugs
mailing list