Partilhar via


SyntaxFactory.CompilationUnit Método

Definição

Sobrecargas

CompilationUnit()

Cria uma nova instância de CompilationUnitSyntax.

CompilationUnit(SyntaxList<ExternAliasDirectiveSyntax>, SyntaxList<UsingDirectiveSyntax>, SyntaxList<AttributeListSyntax>, SyntaxList<MemberDeclarationSyntax>)

Cria uma nova instância de CompilationUnitSyntax.

CompilationUnit(SyntaxList<ExternAliasDirectiveSyntax>, SyntaxList<UsingDirectiveSyntax>, SyntaxList<AttributeListSyntax>, SyntaxList<MemberDeclarationSyntax>, SyntaxToken)

Cria uma nova instância de CompilationUnitSyntax.

CompilationUnit()

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância de CompilationUnitSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ CompilationUnit();
public static Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax CompilationUnit ();
static member CompilationUnit : unit -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Shared Function CompilationUnit () As CompilationUnitSyntax

Retornos

Aplica-se a

CompilationUnit(SyntaxList<ExternAliasDirectiveSyntax>, SyntaxList<UsingDirectiveSyntax>, SyntaxList<AttributeListSyntax>, SyntaxList<MemberDeclarationSyntax>)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância de CompilationUnitSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ CompilationUnit(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::ExternAliasDirectiveSyntax ^> externs, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^> usings, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::MemberDeclarationSyntax ^> members);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax CompilationUnit (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> externs, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> usings, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members);
static member CompilationUnit : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Shared Function CompilationUnit (externs As SyntaxList(Of ExternAliasDirectiveSyntax), usings As SyntaxList(Of UsingDirectiveSyntax), attributeLists As SyntaxList(Of AttributeListSyntax), members As SyntaxList(Of MemberDeclarationSyntax)) As CompilationUnitSyntax

Parâmetros

Retornos

Aplica-se a

CompilationUnit(SyntaxList<ExternAliasDirectiveSyntax>, SyntaxList<UsingDirectiveSyntax>, SyntaxList<AttributeListSyntax>, SyntaxList<MemberDeclarationSyntax>, SyntaxToken)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância de CompilationUnitSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ CompilationUnit(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::ExternAliasDirectiveSyntax ^> externs, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^> usings, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::MemberDeclarationSyntax ^> members, Microsoft::CodeAnalysis::SyntaxToken endOfFileToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax CompilationUnit (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> externs, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> usings, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members, Microsoft.CodeAnalysis.SyntaxToken endOfFileToken);
static member CompilationUnit : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Shared Function CompilationUnit (externs As SyntaxList(Of ExternAliasDirectiveSyntax), usings As SyntaxList(Of UsingDirectiveSyntax), attributeLists As SyntaxList(Of AttributeListSyntax), members As SyntaxList(Of MemberDeclarationSyntax), endOfFileToken As SyntaxToken) As CompilationUnitSyntax

Parâmetros

endOfFileToken
SyntaxToken

Retornos

Aplica-se a