* ColumnHeader.cs: Remove the double linear search in the Index
commit89ad3827e085558f0026e7b4f247b9a5f67e2cc3
authorcalberto <calberto@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Fri, 23 Oct 2009 02:47:25 +0000 (23 02:47 +0000)
committercalberto <calberto@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Fri, 23 Oct 2009 02:47:25 +0000 (23 02:47 +0000)
treeb4bbbaaa8e95c5d7666c91dbab22e4fb0486fa6e
parent47266f59eb2a67399c1584b4efa1db2e9b9dbfd0
* ColumnHeader.cs: Remove the double linear search in the Index
property, by removing the call to Contains, which is not needed.
Also, Columns collection can never be null.

2009-10-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@144702 e3ebcda4-bce8-0310-ba0a-eca2169e7518
class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs