2 // Tests for System.Xml.Serialization.XmlChoiceIdentifierAttribute
10 using System.Xml.Serialization;
12 using NUnit.Framework;
14 namespace MonoTests.System.XmlSerialization
17 public class XmlChoiceIdentifierAttributeTests
20 public void MemerNameDefault ()
22 XmlChoiceIdentifierAttribute attr = new XmlChoiceIdentifierAttribute ();
23 Assert.AreEqual (string.Empty, attr.MemberName, "#1");
25 attr.MemberName = null;
26 Assert.AreEqual (string.Empty, attr.MemberName, "#2");