dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Class Library (pnetlib)


From: Heiko Weiss
Subject: [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Class Library (pnetlib) branch, master, updated. c3c12b8b0c65f5482d03d6a4865f7670e98baf4c
Date: Thu, 21 Jul 2011 08:04:10 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET Class Library (pnetlib)".

The branch, master has been updated
       via  c3c12b8b0c65f5482d03d6a4865f7670e98baf4c (commit)
      from  7ced446a6c637cc263e76d82b7b8820ded1a2825 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/pnetlib.git/commit/?id=c3c12b8b0c65f5482d03d6a4865f7670e98baf4c

commit c3c12b8b0c65f5482d03d6a4865f7670e98baf4c
Author: Heiko Weiss <address@hidden>
Date:   Thu Jul 21 10:02:57 2011 +0200

    fixed DefaultValueAttribute
    public override bool Equals(Object obj).
    Fix by Amatius (ptah), thx.

diff --git a/ChangeLog b/ChangeLog
index aecb3ba..088f864 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-21  Heiko Weiss  <address@hidden>
+       
+       * System/ComponentModel/DefaultValueAttribute.cs: fixed
+       public override bool Equals(Object obj).
+       Fix by Amatius (ptah), thx.
+
 2011-02-28  Klaus Treichel  <address@hidden>
 
        * configure.in: Add $(EXEEXT) to the executables in CSANT_FLAGS.
diff --git a/System/ComponentModel/DefaultValueAttribute.cs 
b/System/ComponentModel/DefaultValueAttribute.cs
index 412213a..11e4ca4 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
                                {

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                      |    6 ++++++
 System/ComponentModel/DefaultValueAttribute.cs |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
DotGNU Portable.NET Class Library (pnetlib)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]