Esempio n. 1
0
        public static bool Equals(Expression left, Expression right, ExpressionComparerOptions options = ExpressionComparerOptions.None, Func <Expression, Expression, bool?> prefilter = null)
        {
            var visitor = new ExpressionComparer(right, options, prefilter);

            visitor.Visit(left);

            return(visitor.result);
        }
 public bool Equals(Expression x, Expression y)
 {
     return(ExpressionComparer.Equals(x, y, this.options));
 }