mono/mono — pull request #497 by Shabbafru (2012-11-05 09:38:15+00:00)
Title: Fixed clearing of the ImageList

`CreateHandle` in the `ImageList` class resets the `count` variable to 0. Therefore if not handle has been created, the counter has to be reset when `Clear` is called. Otherwise, when adding again images, an `ArgumentOutOfRangeException` is thrown in the `GetImage` method when accessing `list`.