public static HashSet<Alias> Externals(Expression source) { UsedAliasGatherer ap = new UsedAliasGatherer(); ap.Visit(source); return ap.externals; }