diff options
| author | Heiko Weiss <[email protected]> | 2011-07-21 10:02:57 +0200 |
|---|---|---|
| committer | Heiko Weiss <[email protected]> | 2011-07-21 10:02:57 +0200 |
| commit | c3c12b8b0c65f5482d03d6a4865f7670e98baf4c (patch) | |
| tree | 5f62444baf599dc855b48ee727d336d354b663a6 | |
| parent | 7ced446a6c637cc263e76d82b7b8820ded1a2825 (diff) | |
| download | pnetlib-master.tar.gz | |
public override bool Equals(Object obj).
Fix by Amatius (ptah), thx.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | System/ComponentModel/DefaultValueAttribute.cs | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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 { |
