예제 #1
0
 public virtual void VisitBinaryExpression(BinaryExpressionSyntax node)
 {
     DefaultVisit(node);
 }
예제 #2
0
        public static BinaryExpressionSyntax BinaryExpression(BinaryOperator @operator = default(BinaryOperator), ExpressionSyntax left = null, ExpressionSyntax right = null)
        {
            var result = new BinaryExpressionSyntax();

            result.Operator = @operator;
            result.Left = left;
            result.Right = right;

            return result;
        }