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

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