Author: gert
Date: 2006-05-30 05:25:39 -0400 (Tue, 30 May 2006)
New Revision: 61251

Modified:
   trunk/mcs/class/corlib/System/ChangeLog
   trunk/mcs/class/corlib/System/Char.cs
   trunk/mcs/class/corlib/System/MulticastDelegate.cs
   trunk/mcs/class/corlib/System/String.cs
Log:
* Char.cs: Removed duplicate (explicit) interface implementation.
* String.cs: Removed duplicate (explicit) interface implemenation.
* MulticastDelegate.cs: Fixed API mismatches.


Modified: trunk/mcs/class/corlib/System/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System/ChangeLog     2006-05-30 09:02:37 UTC (rev 
61250)
+++ trunk/mcs/class/corlib/System/ChangeLog     2006-05-30 09:25:39 UTC (rev 
61251)
@@ -1,6 +1,11 @@
+2006-05-30  Gert Driesen  <[EMAIL PROTECTED]>
 
-Mon May 29 18:49:47 CEST 2006 Paolo Molaro <[EMAIL PROTECTED]>
+       * Char.cs: Removed duplicate (explicit) interface implementation.
+       * String.cs: Removed duplicate (explicit) interface implemenation.
+       * MulticastDelegate.cs: Fixed API mismatches.
 
+2006-05-29 Paolo Molaro <[EMAIL PROTECTED]>
+
        * String.cs: make sure that the chars truncated by a stringbuilder
        are zeroed.
 

Modified: trunk/mcs/class/corlib/System/Char.cs
===================================================================
--- trunk/mcs/class/corlib/System/Char.cs       2006-05-30 09:02:37 UTC (rev 
61250)
+++ trunk/mcs/class/corlib/System/Char.cs       2006-05-30 09:25:39 UTC (rev 
61251)
@@ -636,11 +636,6 @@
                        throw new InvalidCastException();
                }
                
-               string IConvertible.ToString (IFormatProvider provider)
-               {
-                       return ToString(provider);
-               }
-
                ushort IConvertible.ToUInt16 (IFormatProvider provider)
                {
                        return System.Convert.ToUInt16(m_value);

Modified: trunk/mcs/class/corlib/System/MulticastDelegate.cs
===================================================================
--- trunk/mcs/class/corlib/System/MulticastDelegate.cs  2006-05-30 09:02:37 UTC 
(rev 61250)
+++ trunk/mcs/class/corlib/System/MulticastDelegate.cs  2006-05-30 09:25:39 UTC 
(rev 61251)
@@ -59,7 +59,7 @@
                }
 
 
-               protected override object DynamicInvokeImpl (object[] args)
+               protected sealed override object DynamicInvokeImpl (object[] 
args)
                {
                        if (prev != null)
                                prev.DynamicInvokeImpl (args);
@@ -71,7 +71,7 @@
                //   Equals: two multicast delegates are equal if their base is 
equal
                //   and their invocations list is equal.
                // </remarks>
-               public override bool Equals (object o)
+               public sealed override bool Equals (object o)
                {
                        if (!base.Equals (o))
                                return false;
@@ -91,7 +91,7 @@
                //
                // FIXME: This could use some improvements.
                //
-               public override int GetHashCode ()
+               public sealed override int GetHashCode ()
                {
                        return base.GetHashCode ();
                }
@@ -100,7 +100,7 @@
                //   Return, in order of invocation, the invocation list
                //   of a MulticastDelegate
                // </summary>
-               public override Delegate[] GetInvocationList ()
+               public sealed override Delegate[] GetInvocationList ()
                {
                        MulticastDelegate d;
                        d = (MulticastDelegate) this.Clone ();
@@ -131,7 +131,7 @@
                //   thing should have better been a simple System.Delegate 
class.
                //   Compiler generated delegates are always MulticastDelegates.
                // </summary>
-               protected override Delegate CombineImpl (Delegate follow)
+               protected sealed override Delegate CombineImpl (Delegate follow)
                {
                        MulticastDelegate combined, orig, clone;
 
@@ -218,7 +218,7 @@
                        return null;
                }
 
-               protected override Delegate RemoveImpl (Delegate value)
+               protected sealed override Delegate RemoveImpl (Delegate value)
                {
                        if (value == null)
                                return this;

Modified: trunk/mcs/class/corlib/System/String.cs
===================================================================
--- trunk/mcs/class/corlib/System/String.cs     2006-05-30 09:02:37 UTC (rev 
61250)
+++ trunk/mcs/class/corlib/System/String.cs     2006-05-30 09:25:39 UTC (rev 
61251)
@@ -1681,11 +1681,6 @@
                        return Convert.ToSingle (this, provider);
                }
 
-               string IConvertible.ToString (IFormatProvider format)
-               {
-                       return this;
-               }
-
                object IConvertible.ToType (Type conversionType, 
IFormatProvider provider)
                {
                        return Convert.ToType (this, conversionType,  provider);
@@ -1706,11 +1701,6 @@
                        return Convert.ToUInt64 (this, provider);
                }
 
-               TypeCode IConvertible.GetTypeCode ()
-               {
-                       return TypeCode.String;
-               }
-
                public int Length {
                        get {
                                return length;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to