public static bool AreEqual(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope, Expression a, Expression b) { return(new ExpressionComparer(parameterScope).Compare(a, b)); }
public ScopedDictionary(ScopedDictionary <TKey, TValue> previous) { this.previous = previous; this.map = new Dictionary <TKey, TValue>(); }
public ExpressionComparer(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope) { this.parameterScope = parameterScope; }