public bool ValueEquals(Shape other) { if (Count != other.Count) { return(false); } return(_annotations.ValueEquals(other._annotations)); }
public bool ValueEquals(Annotation <TOffset> other) { if (other == null) { return(false); } if (IsLeaf != other.IsLeaf) { return(false); } if (!IsLeaf && !_children.ValueEquals(other._children)) { return(false); } return(_fs.ValueEquals(other._fs) && _optional == other._optional && Range == other.Range); }