[Mono-bugs] [Bug 81448][Nor] New - [PATCH] [2.0] TreeNodeCollection: ContainsKey, IndexOfKey broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 25 07:40:59 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 frederik.carlier at ugent.be.

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

--- shadow/81448	2007-04-25 07:40:59.000000000 -0400
+++ shadow/81448.tmp.9631	2007-04-25 07:40:59.000000000 -0400
@@ -0,0 +1,25 @@
+Bug#: 81448
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: frederik.carlier at ugent.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] [2.0] TreeNodeCollection: ContainsKey, IndexOfKey broken
+
+Description of Problem:
+
+The methods TreeNodeCollection.ContainsKey and
+TreeNodeCollection.IndexOfKey are broken, because of a loop that goes to
+nodes.Length instead of count. 
+
+A patch is attached, containing a fix, ChangeLog messages and unit tests.


More information about the mono-bugs mailing list