Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View 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,9 +141,7 @@ namespace System.Reflection {
return true;
return !left.Equals (right);
}
#endif
#if NET_4_5
public virtual Delegate CreateDelegate (Type delegateType)
{
return Delegate.CreateDelegate (delegateType, this);
@ -173,6 +151,5 @@ namespace System.Reflection {
{
return Delegate.CreateDelegate (delegateType, target, this);
}
#endif
}
}