[Mono-bugs] [Bug 488293] sgen fails to generate serializers when XmlType attribute contains '.'

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 9 11:38:21 EDT 2009


User skolima at gmail.com added comment

--- Comment #2 from Leszek Ciesielski <skolima at gmail.com>  2009-04-09 09:38:20 MDT ---
Created an attachment (id=285052)
 --> (http://bugzilla.novell.com/attachment.cgi?id=285052)
patch for naming methods handling enums inside of classes

This patch solves the first part of the bug.

However, the generated code still is not correct, because for some reason sgen
uses type.FullName where "object" would be enough, and this leads to generating
code that tries to return null as a struct. The serializer that MS.Net
generates handles this case by not specifying the type (as XmlSerializer will
upcast the result to object anyway).

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

More information about the mono-bugs mailing list