[Mono-dev] System.Collections.Specialized.NameValueCollection patch

Ilya Kharmatsky ilyak at mainsoft.com
Sun Apr 22 04:26:25 EDT 2007


Please review updated patch - fixed 'CopyTo' method - in negative flow 
will catch ArrayTypeMismatchException and will re-throw 
InvalidCastException (under NET_2_0 directive)


Eyal Alaluf wrote:
> Hi, Ilya.
>
> The fix in the CopyTo is incoreect. It disallows copying to object[] or
> IConvertible[] etc.
>
> Eyal.
>
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Ilya
> Kharmatsky
> Sent: 17 April 2007 12:29
> To: mono-devel-list at lists.ximian.com
> Subject: [Mono-dev] System.Collections.Specialized.NameValueCollection
> patch
>
> Hi,
> Please approve attached patch which fix proper exception handling in 
> CopyTo method and constructors which get another instance of 
> NameValueCollection.
> The patch contains also the respective test cases.
>
> Ilya.
>   
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: NameValueCollection_Updated.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070422/0fa840c3/attachment.pl 


More information about the Mono-devel-list mailing list