Compilation.AddSyntaxTrees Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.