public override Expression CreateExpression() { var expression = _node.CreateExpression(); if (expression.Type != typeof(bool)) { expression = Expression.Convert(expression, typeof(bool)); } return(Expression.Not(expression)); }