private AssertionNode ProcessBinary(BinaryExpression binaryExpression, AssertionNodeType type) { var left = GetAssertionNode(binaryExpression.Left); var right = GetAssertionNode(binaryExpression.Right); return(new AssertionNode(binaryExpression, type) { Left = left, Right = right }); }
public AssertionNode(Expression expression, AssertionNodeType type) { Expression = expression; Type = type; }