Beispiel #1
0
        public static ConditionalExpressionSyntax ConditionalExpression(ExpressionSyntax condition = null, ExpressionSyntax whenTrue = null, ExpressionSyntax whenFalse = null)
        {
            var result = new ConditionalExpressionSyntax();

            result.Condition = condition;
            result.WhenTrue = whenTrue;
            result.WhenFalse = whenFalse;

            return result;
        }
 public virtual void VisitConditionalExpression(ConditionalExpressionSyntax node)
 {
     DefaultVisit(node);
 }
Beispiel #3
0
 public virtual void VisitConditionalExpression(ConditionalExpressionSyntax node)
 {
     DefaultVisit(node);
 }