summaryrefslogtreecommitdiff
diff options
authorHeiko Weiss <[email protected]>2011-07-21 10:02:57 +0200
committerHeiko Weiss <[email protected]>2011-07-21 10:02:57 +0200
commitc3c12b8b0c65f5482d03d6a4865f7670e98baf4c (patch)
tree5f62444baf599dc855b48ee727d336d354b663a6
parent7ced446a6c637cc263e76d82b7b8820ded1a2825 (diff)
downloadpnetlib-master.tar.gz
fixed DefaultValueAttributeHEADmaster
public override bool Equals(Object obj). Fix by Amatius (ptah), thx.
-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
{