private BinaryRelationship GetRelationship(BoolConstraint boolConstraint)
        {
            var relationship = new ComparisonRelationship(comparisonKind, leftOperand, rightOperand);

            return boolConstraint == BoolConstraint.True
                ? relationship
                : relationship.Negate();
        }
        private BinaryRelationship GetRelationship(BoolConstraint boolConstraint)
        {
            var relationship = new ComparisonRelationship(comparisonKind, leftOperand, rightOperand);

            return(boolConstraint == BoolConstraint.True
                ? relationship
                : relationship.Negate());
        }
        private bool Equals(ComparisonRelationship other)
        {
            if (other == null ||
                ComparisonKind != other.ComparisonKind)
            {
                return(false);
            }

            return(base.Equals(other));
        }
        private bool Equals(ComparisonRelationship other)
        {
            if (other == null ||
                ComparisonKind != other.ComparisonKind)
            {
                return false;
            }

            return base.Equals(other);
        }
 private bool AreOperandsSwapped(ComparisonRelationship rel)
 {
     return LeftOperand.Equals(rel.RightOperand) && RightOperand.Equals(rel.LeftOperand);
 }
 private bool AreOperandsSwapped(ComparisonRelationship rel)
 {
     return(LeftOperand.Equals(rel.RightOperand) && RightOperand.Equals(rel.LeftOperand));
 }