public static IEnumerable <SymbolExpression> GetGlobalSymbols(this ContainerExpression container) { var locals = container.GetLocalSymbols(); var symbols = container.GetSymbols(); return(symbols.Where(symbol => !locals.Contains(symbol))); }
public static IEnumerable <SymbolExpression> GetLocalSymbols(this ContainerExpression container) { return(container.GetLocalSymbols(Enumerable.Empty <String>())); }