using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; namespace FastScriptReload.Editor.Compilation.CodeRewriting { public static class SyntaxTreeMergePartialsExtensions { public static IEnumerable MergePartials( this IEnumerable trees, IEnumerable definedPreprocessorSymbols) { return trees .Select(tree => PartialTreeProcessor.ProcessPartialTree(tree, definedPreprocessorSymbols)) .ToList(); } } }