[Mono-dev] Patch for bug #518764

Alessandro Fedrigo fedrigo.alessandro at gmail.com
Thu Aug 20 13:41:01 EDT 2009


Hi,

As stated by bug #518764, xml deserialization performed by the class
SoapReader
in System.Runtime.Serialization.Formatters.Soap assembly
doesn't work properly for Enum types.

In the attachment I propose a patch that force the exit from
method SoapReader.DeserializeComponent() in the Enum case
so the object is valorized correctly.

My patch works correctly with this the test case of  bug
http://bugzilla.novell.com/show_bug.cgi?id=518764
and other cases.

Best regards
Alessandro Fedrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090820/fc67814e/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SoapReader.diff
Type: text/x-patch
Size: 454 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090820/fc67814e/attachment.bin 


More information about the Mono-devel-list mailing list