public static List <Type> CollectReturnTypes(Expression expression) { var collector = new ReturnTypesCollector(); collector.Visit(expression); return(collector.returnTypes.ToList()); }
public static List<Type> CollectReturnTypes(Expression expression) { var collector = new ReturnTypesCollector(); collector.Visit(expression); return collector.returnTypes.ToList(); }