[bcl] Remove NET_4_0 defines from class libs.
[mono.git] / mcs / class / corlib / System.Reflection / MethodInfo.cs
index 74f96f55428f03dcc775dcd1c09698251f8af648..b63d5887788c07bf282b8d797a00b24c5268ab7a 100644 (file)
@@ -107,25 +107,6 @@ namespace System.Reflection {
                        return Type.EmptyTypes;
                }
 
-#if !NET_4_0
-               public override bool IsGenericMethod {
-                       get {
-                               return false;
-                       }
-               }
-
-               public override bool IsGenericMethodDefinition {
-                       get {
-                               return false;
-                       }
-               }
-
-               public override bool ContainsGenericParameters {
-                       get {
-                               return false;
-                       }
-               }
-#endif
 
                public virtual ParameterInfo ReturnParameter {
                        get {
@@ -133,7 +114,6 @@ namespace System.Reflection {
                        }
                }
 
-#if NET_4_0
                public override bool Equals (object obj)
                {
                        return obj == (object) this;
@@ -161,7 +141,6 @@ namespace System.Reflection {
                                return true;
                        return !left.Equals (right);
                }
-#endif
 
 #if NET_4_5
                public virtual Delegate CreateDelegate (Type delegateType)