* ComboBox.cs: fixes OnSelectedItemChanged
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ControlBindingsCollection.cs
index e36fef4bf4831ac6ad7e25126fed080de163e383..b6b322328a5a1ceed38cf99ae14ea421d330a60d 100644 (file)
@@ -90,7 +90,7 @@ namespace System.Windows.Forms {
                }
 
                public void RemoveAt(int index) {
-                       if (index < 0 || index > base.List.Count) {
+                       if (index < 0 || index >= base.List.Count) {
                                throw new ArgumentOutOfRangeException("index");
                        }