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 <[email protected]>
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  <[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 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)

_______________________________________________
dotgnu-pnet-commits mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dotgnu-pnet-commits

Reply via email to