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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.