[Mono-dev] Enum serealization proble in System.Xml.Serialization.XmlMapping

Atsushi Eno atsushi at ximian.com
Thu Nov 17 10:34:13 EST 2005


It would be much better if you avoid application/octet-stream for
your text attachments (it is even unlikely to be read by others).

Are you sure that enum default value is always "0" ?

Also, it looks like you forgot to create NUnit test for your
example case.

Cheers,
Atsushi Eno

Vladimir Krasnov wrote:
> Hello All,
>  
> There is a problem in serialization of Enum default value, the value
> shouldn't be written to the xml.
> See attached sample that reproduces the problem.
> Also please approve the patch that fixes the problem.
> If no one objects I'll commit.
>  
> Vladimir Krasnov
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list