[mono/mono] ef3f9a6e: Fix the build.

0 views
Skip to first unread message

Rodrigo Kumpera (kumpera@gmail.com)

unread,
Apr 23, 2013, 5:30:31 PM4/23/13
to Mono Patches List

Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/9c0b418df94b...ef3f9a6e8073

Commit: ef3f9a6e8073c2dad68a802a743dc7f67a38b148
Author: Rodrigo Kumpera <kum...@gmail.com> (kumpera)
Date: 2013-04-23 21:29:16 GMT
URL: https://github.com/mono/mono/commit/ef3f9a6e8073c2dad68a802a743dc7f67a38b148

Fix the build.

Changed paths:
M mcs/class/System.Runtime.Serialization/System.Runtime.Serialization/KnownTypeCollection.cs

Modified: mcs/class/System.Runtime.Serialization/System.Runtime.Serialization/KnownTypeCollection.cs
===================================================================
@@ -999,7 +999,7 @@ private SerializationMap RegisterIXmlSerializable (Type type)

QName qname = GetSerializableQName (type);

- if (!Qname.Empty.Equals (qname) && FindUserMap (qname, type) != null)
+ if (!QName.Empty.Equals (qname) && FindUserMap (qname, type) != null)
throw new InvalidOperationException (String.Format ("There is already a registered type for XML name {0}", qname));

XmlSerializableMap ret = new XmlSerializableMap (type, qname, this);


Reply all
Reply to author
Forward
0 new messages