Fix for the XMLSerializer bug 18558
authorjason_naylor <jason_naylor@sil.org>
Wed, 4 Mar 2015 15:58:01 +0000 (09:58 -0600)
committerjason_naylor <jason_naylor@sil.org>
Wed, 4 Mar 2015 16:25:37 +0000 (10:25 -0600)
commit60ef531176c7d293a89ea64cf3c81b4fc92d7da4
tree8aedc18e2b5aa3bef365950a9e9c9a6e7709c011
parent6b74a2814f545ae0aafca633a9933bbe4c9b1f57
Fix for the XMLSerializer bug 18558

* Find the type map element that is the most-specific to the
  object in question, not the first type it is an instance of

Change-Id: I1867e790bf9f377ce0ae02871f4561b760e27624
mcs/class/System.XML/System.Xml.Serialization/XmlTypeMapMemberElement.cs
mcs/class/System.XML/Test/System.Xml.Serialization/XmlSerializerTests.cs