SyntaxGenerator.CompilationUnit 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
CompilationUnit(SyntaxNode[]) |
Creates a compilation unit declaration |
CompilationUnit(IEnumerable<SyntaxNode>) |
Creates a compilation unit declaration |
CompilationUnit(SyntaxNode[])
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a compilation unit declaration
public:
Microsoft::CodeAnalysis::SyntaxNode ^ CompilationUnit(... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ declarations);
public Microsoft.CodeAnalysis.SyntaxNode CompilationUnit (params Microsoft.CodeAnalysis.SyntaxNode[] declarations);
member this.CompilationUnit : Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function CompilationUnit (ParamArray declarations As SyntaxNode()) As SyntaxNode
Parameters
- declarations
- SyntaxNode[]
Zero or more namespace import, namespace or type declarations.
Returns
Applies to
CompilationUnit(IEnumerable<SyntaxNode>)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a compilation unit declaration
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ CompilationUnit(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ declarations);
public abstract Microsoft.CodeAnalysis.SyntaxNode CompilationUnit (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> declarations);
abstract member CompilationUnit : seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function CompilationUnit (declarations As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- declarations
- IEnumerable<SyntaxNode>
Zero or more namespace import, namespace or type declarations.