共用方式為


CSharpCompilation.AddSyntaxTrees Method

Definition

Overloads

AddSyntaxTrees(SyntaxTree[])

Creates a new compilation with additional syntax trees.

AddSyntaxTrees(IEnumerable<SyntaxTree>)

Creates a new compilation with additional syntax trees.

AddSyntaxTrees(SyntaxTree[])

Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs

Creates a new compilation with additional syntax trees.

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ AddSyntaxTrees(... cli::array <Microsoft::CodeAnalysis::SyntaxTree ^> ^ trees);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation AddSyntaxTrees (params Microsoft.CodeAnalysis.SyntaxTree[] trees);
override this.AddSyntaxTrees : Microsoft.CodeAnalysis.SyntaxTree[] -> Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Public Function AddSyntaxTrees (ParamArray trees As SyntaxTree()) As CSharpCompilation

Parameters

trees
SyntaxTree[]

Returns

Applies to

AddSyntaxTrees(IEnumerable<SyntaxTree>)

Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs

Creates a new compilation with additional syntax trees.

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ AddSyntaxTrees(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTree ^> ^ trees);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation AddSyntaxTrees (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTree> trees);
override this.AddSyntaxTrees : seq<Microsoft.CodeAnalysis.SyntaxTree> -> Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Public Function AddSyntaxTrees (trees As IEnumerable(Of SyntaxTree)) As CSharpCompilation

Parameters

Returns

Applies to