Udostępnij za pośrednictwem


Compilation.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:
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

Creates a new compilation with additional syntax trees.

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

Parameters

trees
SyntaxTree[]

The new syntax trees.

Returns

A new compilation.

Applies to

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

Creates a new compilation with additional syntax trees.

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

Parameters

trees
IEnumerable<SyntaxTree>

The new syntax trees.

Returns

A new compilation.

Applies to