* SerializationCodeGenerator.cs: Added support for generation of readers
[mono.git] / mcs / class / System.XML / System.Xml.Serialization / XmlAttributeAttribute.cs
index 858297687bf9ecc8a0ad1064dc6516fd3083c9e6..496633e4df250bbc5c11f84878c0849cb3be0313 100644 (file)
@@ -89,6 +89,16 @@ namespace System.Xml.Serialization
                                type = value;
                        }\r
                }\r
-\r
+               \r
+               internal bool InternalEquals (XmlAttributeAttribute other)\r
+               {\r
+                       if (other == null) return false;\r
+                       \r
+                       return (attributeName == other.attributeName &&\r
+                                       dataType == other.dataType &&\r
+                                       type == other.type &&\r
+                                       form == other.form &&\r
+                                       ns == other.ns);\r
+               }\r
        }\r
 }\r