Class MemberInfoComparer
A member info comparer that will ignore the ReflectedType
property by relying on the metadata token for comparison.
Inheritance
MemberInfoComparer
Syntax
public class MemberInfoComparer : EqualityComparer<MemberInfo>, IEqualityComparer, IEqualityComparer<MemberInfo>
Methods
Equals(MemberInfo, MemberInfo)
Declaration
public override bool Equals(MemberInfo x, MemberInfo y)
Parameters
Returns
Overrides
System.Collections.Generic.EqualityComparer<System.Reflection.MemberInfo>.Equals(System.Reflection.MemberInfo, System.Reflection.MemberInfo)
GetHashCode(MemberInfo)
Declaration
public override int GetHashCode(MemberInfo obj)
Parameters
Returns
Overrides
System.Collections.Generic.EqualityComparer<System.Reflection.MemberInfo>.GetHashCode(System.Reflection.MemberInfo)
Extension Methods