Fix the build.
authorRodrigo Kumpera <kumpera@gmail.com>
Tue, 23 Apr 2013 21:29:16 +0000 (17:29 -0400)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 23 Apr 2013 21:29:16 +0000 (17:29 -0400)
mcs/class/System.Runtime.Serialization/System.Runtime.Serialization/KnownTypeCollection.cs

index 6ae6055001abe44cecb189a209db0184621b2afd..0a10af2bddb1420133269fcca4aab035ae64a749 100755 (executable)
@@ -999,7 +999,7 @@ namespace System.Runtime.Serialization
 
                        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);