public static List <ConstantExpression> FindConstants(Expression node)
        {
            var visitor = new ConstantFinderVisitor();

            visitor.Visit(node);
            return(visitor.constants);
        }
 private static List <ConstantExpression> GetConstants(Expression expression) =>
 ConstantFinderVisitor.FindConstants(expression);