summaryrefslogtreecommitdiff
diff options
-rw-r--r--ChangeLog6
-rw-r--r--System/ComponentModel/DefaultValueAttribute.cs2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index aecb3baa..088f864d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-21 Heiko Weiss <[email protected]>
+
+ * System/ComponentModel/DefaultValueAttribute.cs: fixed
+ public override bool Equals(Object obj).
+ Fix by Amatius (ptah), thx.
+
2011-02-28 Klaus Treichel <[email protected]>
* configure.in: Add $(EXEEXT) to the executables in CSANT_FLAGS.
diff --git a/System/ComponentModel/DefaultValueAttribute.cs b/System/ComponentModel/DefaultValueAttribute.cs
index 412213a7..11e4ca4b 100644
--- a/System/ComponentModel/DefaultValueAttribute.cs
+++ b/System/ComponentModel/DefaultValueAttribute.cs
@@ -99,7 +99,7 @@ public sealed class DefaultValueAttribute : Attribute
DefaultValueAttribute other = (obj as DefaultValueAttribute);
if(other != null)
{
- return obj.Equals(other.obj);
+ return this.obj.Equals(other.obj);
}
else
{