Click or drag to resize

CSharpCompilationCreate Method



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 static CSharpCompilation Create(
	string assemblyName,
	IEnumerable syntaxTrees = null,
	void references = null,
	SyntaxTree options = null
)

Parameters

assemblyName
Type: SystemString
syntaxTrees (Optional)
Type: System.Collections.GenericIEnumerableT
references (Optional)
Type: SystemVoid
options (Optional)
Type: Microsoft.CodeAnalysisSyntaxTree

Return Value

Type: CSharpCompilation
See Also