2002-08-21 Dietmar Maurer <dietmar@ximian.com>
[mono.git] / mcs / class / corlib / System / Delegate.cs
index 06d957214eb0cb99edec4a4c150696354fcbf7a3..8320f380cd9c9c7e641a818c9f58ee98be40faad 100644 (file)
@@ -74,7 +74,6 @@ namespace System {
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                internal static extern Delegate CreateDelegate_internal (Type type, object target, MethodInfo info);
 
-               [MonoTODO]
                public static Delegate CreateDelegate (Type type, MethodInfo info)
                {
                        if (type == null)
@@ -86,7 +85,6 @@ namespace System {
                        return CreateDelegate_internal (type, null, info);
                }
                
-               [MonoTODO]
                public static Delegate CreateDelegate (Type type, object target, string method)
                {
                        if (type == null)
@@ -103,7 +101,6 @@ namespace System {
                        return CreateDelegate_internal (type, target, info);
                }
 
-               [MonoTODO]
                public static Delegate CreateDelegate (Type type, Type target, string method)
                {
                        if (type == null)
@@ -120,7 +117,6 @@ namespace System {
                        return CreateDelegate_internal (type, null, info);
                }
 
-               [MonoTODO]
                public static Delegate CreateDelegate (Type type, object target, string method, bool ignorecase)
                {
                        if (type == null)
@@ -165,9 +161,6 @@ namespace System {
                        if ( o == null )
                                return false;
                        
-                       if ( o.GetType() != this.GetType() )
-                               return false;
-
                        Delegate d = (Delegate) o;
                        if ((d.target_type == target_type) &&
                            (d.m_target == m_target) &&