public bool Equals(EdgeInsetsGeometry other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(_left.Equals(other._left) && _right.Equals(other._right) && _top.Equals(other._top) && _bottom.Equals(other._bottom) && _start.Equals(other._top) && _end.Equals(other._bottom)); }