Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@novell.com>2003-10-18 02:55:42 +0400
committerLluis Sanchez <lluis@novell.com>2003-10-18 02:55:42 +0400
commit948af3305cc6652bd2856b6747eb447a99511562 (patch)
treeb591df4016f8b5f26858b174380097431812768c /mcs/class/System.XML/System.Xml.Serialization/SoapReflectionImporter.cs
parent3ea37fe98b196f8529a2c8e7580ee06fa9d7ceb3 (diff)
* SoapReflectionImporter.cs: Support element references for enum values in
encoding format. This fixes bug #49568. * XmlSerializationReaderInterpreter.cs: In encoded format, do not check the name and namespace of the wrapper element. MS.NET doesn't do it. This fixes bug #49729. svn path=/trunk/mcs/; revision=19152
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Serialization/SoapReflectionImporter.cs')
-rw-r--r--mcs/class/System.XML/System.Xml.Serialization/SoapReflectionImporter.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml.Serialization/SoapReflectionImporter.cs b/mcs/class/System.XML/System.Xml.Serialization/SoapReflectionImporter.cs
index d56a88a42d2..9a7bdb9579e 100644
--- a/mcs/class/System.XML/System.Xml.Serialization/SoapReflectionImporter.cs
+++ b/mcs/class/System.XML/System.Xml.Serialization/SoapReflectionImporter.cs
@@ -285,6 +285,8 @@ namespace System.Xml.Serialization {
map = CreateTypeMapping (typeData, null, defaultNamespace);
helper.RegisterClrType (map, type, map.Namespace);
+ map.MultiReferenceType = true;
+
string [] names = Enum.GetNames (type);
EnumMap.EnumMapMember[] members = new EnumMap.EnumMapMember[names.Length];
for (int n=0; n<names.Length; n++)