Compilation.AddSyntaxTrees 方法

定义

重载

AddSyntaxTrees(SyntaxTree[])

使用其他语法树创建新的编译。

AddSyntaxTrees(IEnumerable<SyntaxTree>)

使用其他语法树创建新的编译。

AddSyntaxTrees(SyntaxTree[])

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

使用其他语法树创建新的编译。

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

参数

trees
SyntaxTree[]

新的语法树。

返回

新的编译。

适用于

AddSyntaxTrees(IEnumerable<SyntaxTree>)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

使用其他语法树创建新的编译。

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

参数

trees
IEnumerable<SyntaxTree>

新的语法树。

返回

新的编译。

适用于