internal static int GetHashCode(ISubordinateObject propertyObject) { return(propertyObject.Ordinal); }
internal static bool Equals(ISubordinateObject object1, ISubordinateObject object2) { return(object.ReferenceEquals(object1, object2) || (object1 != null && object2 != null && object1.Ordinal == object2.Ordinal && !(object1.Type != object2.Type) && object.Equals(object1.Parent, object2.Parent))); }