[Mono-bugs] [Bug 409169] ImageCollection.CopyTo broken

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 24 12:27:13 EDT 2008


User kornelpal at gmail.com added comment

Kornél Pál <kornelpal at gmail.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |kornelpal at gmail.com
             Status|RESOLVED                                        |REOPENED
         Resolution|FIXED                                           |

--- Comment #5 from Kornél Pál <kornelpal at gmail.com>  2008-09-24 10:27:12 MDT ---
FxCop was right and it's suggested fix is correct.

Using list.CopyTo makes ImageList behave very different for expected.

You miss two very important things:
CreateHandle() // required for image strips to be split
<image>.Clone() // internal images should never be exposed

I suggest that the previous implementation with the fix by FxCop be used.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list