Method Equals
Equals(MemberDescriptor?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MemberDescriptor? other)
Parameters
otherMemberDescriptorAn object to compare with this object.
Returns
Remarks
Compared by declaring type, kind and name rather than by the reflection member itself. Reflection hands out a different MemberInfo for the same property depending on the type it was reached through, and two descriptors for one inherited property must count as the same member or it would be mapped twice.
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.