public override int GetHashCode() { const int hashIndex = 307; var result = (Center != null) ? Center.GetHashCode() : 0; result = (result * hashIndex) ^ ((BeginPoint != null) ? BeginPoint.GetHashCode() : 0); result = (result * hashIndex) ^ ((EndPoint != null) ? EndPoint.GetHashCode() : 0); result = (result * hashIndex) ^ ArcDirection.GetHashCode(); return(result); }