зеркало из https://github.com/mono/ikvm-fork.git
Fixed regression introduced with == operator in MemberInfo.
This commit is contained in:
Родитель
48f48cfa71
Коммит
d1ec841c86
|
@ -222,7 +222,7 @@ namespace IKVM.Reflection
|
|||
public override int GetHashCode()
|
||||
{
|
||||
Type type = this.UnderlyingSystemType;
|
||||
return type == this ? base.GetHashCode() : type.GetHashCode();
|
||||
return ReferenceEquals(type, this) ? base.GetHashCode() : type.GetHashCode();
|
||||
}
|
||||
|
||||
public virtual Type[] GetGenericArguments()
|
||||
|
|
Загрузка…
Ссылка в новой задаче