Example #1
0
        protected virtual Expression VisitIsNull(IsNullExpression isnull)
        {
            Expression expr = this.Visit(isnull.Expression);

            if (expr != isnull.Expression)
            {
                return(new IsNullExpression(expr));
            }
            return(isnull);
        }
Example #2
0
 protected virtual bool CompareIsNull(IsNullExpression a, IsNullExpression b)
 {
     return(Compare(a.Expression, b.Expression));
 }