[Mono-bugs] [Bug 405277] XML Serializer fails on nullable typed enums

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 1 08:22:46 EDT 2008


User robertj at gmx.net added comment

Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                                         |Added
                 CC|                                                |robertj at gmx.net
             Status|NEW                                             |RESOLVED
         Resolution|                                                |INVALID

--- Comment #1 from Robert Jordan <robertj at gmx.net>  2008-07-01 06:22:45 MDT ---
This is already fixed. At least in SVN.

A *compilable* test case for the records:

using System;
using System.Windows.Forms;
using System.Xml.Serialization;

public class Test
        private DialogResult? result;

        public DialogResult? Result
                get { return result; }
                set { result = value; }

        static void Main ()
                XmlSerializer xs = new XmlSerializer(typeof(Test));
                xs.Serialize (Console.Out, new Test ());

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