Metalama 1.0 / / Metalama Documentation / Advanced API / Metalama.​Framework.​Engine.​Code­Model / Partial­Compilation­Extensions / Add­Syntax­Trees

Method AddSyntaxTrees

AddSyntaxTrees(IPartialCompilation, SyntaxTree[])

Declaration
public static IPartialCompilation AddSyntaxTrees(this IPartialCompilation compilation, params SyntaxTree[] syntaxTrees)
Parameters
Type Name Description
IPartialCompilation compilation
SyntaxTree[] syntaxTrees
Returns
Type Description
IPartialCompilation

AddSyntaxTrees(IPartialCompilation, IEnumerable<SyntaxTree>)

Declaration
public static IPartialCompilation AddSyntaxTrees(this IPartialCompilation compilation, IEnumerable<SyntaxTree> syntaxTrees)
Parameters
Type Name Description
IPartialCompilation compilation
IEnumerable<SyntaxTree> syntaxTrees
Returns
Type Description
IPartialCompilation