Click or drag to resize

CSharpCompilationAddSyntaxTrees Method (SyntaxTree)



Creates a new compilation with additional syntax trees.

Namespace:  Microsoft.CodeAnalysis.CSharp
Assembly:  Microsoft.CodeAnalysis.CSharp (in Microsoft.CodeAnalysis.CSharp.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public CSharpCompilation AddSyntaxTrees(
	params SyntaxTree[] trees
)

Parameters

trees
Type: Microsoft.CodeAnalysisSyntaxTree

Return Value

Type: CSharpCompilation
See Also