internal static HashSet <Expression> Nominate(Func <Expression, bool> fnCanBeEvaluated, Expression expression) { Nominator nominator = new Nominator(fnCanBeEvaluated); nominator.Visit(expression); return(nominator.candidates); }
public static HashSet <Expression> Nominate(Func <Expression, bool> fnCanBeEvaluated, Expression expression) { var nominator = new Nominator(fnCanBeEvaluated); if (nominator != null) { nominator.Visit(expression); } return(nominator.candidates); }