Example #1
0
        internal override IExpression GetConditionExpression()
        {
            IExpression expr = ConditionVariable.GetExpression();

            if (ConditionValue)
            {
                return(expr);
            }
            else
            {
                return(Builder.NotExpr(expr));
            }
        }
Example #2
0
 internal override IExpression GetConditionExpression()
 {
     return(Builder.BinaryExpr(ConditionVariable.GetExpression(), BinaryOperator.ValueEquality, range.GetExpression()));
 }