共用方式為


SyntaxFactory.ConstructorDeclaration Method

Definition

Overloads

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, BlockSyntax, ArrowExpressionClauseSyntax, SyntaxToken)

Creates a new ConstructorDeclarationSyntax instance.

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, BlockSyntax, ArrowExpressionClauseSyntax)

Creates a new ConstructorDeclarationSyntax instance.

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, ArrowExpressionClauseSyntax, SyntaxToken)
ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, BlockSyntax, SyntaxToken)
ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, ArrowExpressionClauseSyntax)
ConstructorDeclaration(String)

Creates a new ConstructorDeclarationSyntax instance.

ConstructorDeclaration(SyntaxToken)

Creates a new ConstructorDeclarationSyntax instance.

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, BlockSyntax)

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, BlockSyntax, ArrowExpressionClauseSyntax, SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new ConstructorDeclarationSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorDeclarationSyntax ^ ConstructorDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorInitializerSyntax ^ initializer, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ body, Microsoft::CodeAnalysis::CSharp::Syntax::ArrowExpressionClauseSyntax ^ expressionBody, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax initializer, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax? initializer, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? body, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax? expressionBody, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member ConstructorDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Public Shared Function ConstructorDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, parameterList As ParameterListSyntax, initializer As ConstructorInitializerSyntax, body As BlockSyntax, expressionBody As ArrowExpressionClauseSyntax, semicolonToken As SyntaxToken) As ConstructorDeclarationSyntax

Parameters

modifiers
SyntaxTokenList
identifier
SyntaxToken
parameterList
ParameterListSyntax
semicolonToken
SyntaxToken

Returns

Applies to

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, BlockSyntax, ArrowExpressionClauseSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new ConstructorDeclarationSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorDeclarationSyntax ^ ConstructorDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorInitializerSyntax ^ initializer, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ body, Microsoft::CodeAnalysis::CSharp::Syntax::ArrowExpressionClauseSyntax ^ expressionBody);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax initializer, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax? initializer, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? body, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax? expressionBody);
static member ConstructorDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Public Shared Function ConstructorDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, parameterList As ParameterListSyntax, initializer As ConstructorInitializerSyntax, body As BlockSyntax, expressionBody As ArrowExpressionClauseSyntax) As ConstructorDeclarationSyntax

Parameters

modifiers
SyntaxTokenList
identifier
SyntaxToken
parameterList
ParameterListSyntax

Returns

Applies to

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, ArrowExpressionClauseSyntax, SyntaxToken)

Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorDeclarationSyntax ^ ConstructorDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorInitializerSyntax ^ initializer, Microsoft::CodeAnalysis::CSharp::Syntax::ArrowExpressionClauseSyntax ^ expressionBody, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax initializer, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member ConstructorDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Public Shared Function ConstructorDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, parameterList As ParameterListSyntax, initializer As ConstructorInitializerSyntax, expressionBody As ArrowExpressionClauseSyntax, semicolonToken As SyntaxToken) As ConstructorDeclarationSyntax

Parameters

modifiers
SyntaxTokenList
identifier
SyntaxToken
parameterList
ParameterListSyntax
semicolonToken
SyntaxToken

Returns

Applies to

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, BlockSyntax, SyntaxToken)

Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorDeclarationSyntax ^ ConstructorDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorInitializerSyntax ^ initializer, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ body, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax initializer, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax? initializer, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? body, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member ConstructorDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Public Shared Function ConstructorDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, parameterList As ParameterListSyntax, initializer As ConstructorInitializerSyntax, body As BlockSyntax, semicolonToken As SyntaxToken) As ConstructorDeclarationSyntax

Parameters

modifiers
SyntaxTokenList
identifier
SyntaxToken
parameterList
ParameterListSyntax
semicolonToken
SyntaxToken

Returns

Applies to

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, ArrowExpressionClauseSyntax)

Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorDeclarationSyntax ^ ConstructorDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorInitializerSyntax ^ initializer, Microsoft::CodeAnalysis::CSharp::Syntax::ArrowExpressionClauseSyntax ^ expressionBody);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax initializer, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody);
static member ConstructorDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Public Shared Function ConstructorDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, parameterList As ParameterListSyntax, initializer As ConstructorInitializerSyntax, expressionBody As ArrowExpressionClauseSyntax) As ConstructorDeclarationSyntax

Parameters

modifiers
SyntaxTokenList
identifier
SyntaxToken
parameterList
ParameterListSyntax

Returns

Applies to

ConstructorDeclaration(String)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new ConstructorDeclarationSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorDeclarationSyntax ^ ConstructorDeclaration(System::String ^ identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (string identifier);
static member ConstructorDeclaration : string -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Public Shared Function ConstructorDeclaration (identifier As String) As ConstructorDeclarationSyntax

Parameters

identifier
String

Returns

Applies to

ConstructorDeclaration(SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new ConstructorDeclarationSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorDeclarationSyntax ^ ConstructorDeclaration(Microsoft::CodeAnalysis::SyntaxToken identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxToken identifier);
static member ConstructorDeclaration : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Public Shared Function ConstructorDeclaration (identifier As SyntaxToken) As ConstructorDeclarationSyntax

Parameters

identifier
SyntaxToken

Returns

Applies to

ConstructorDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, ConstructorInitializerSyntax, BlockSyntax)

Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
Source:
ConstructorDeclarationSyntax.cs
public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorDeclarationSyntax ^ ConstructorDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ConstructorInitializerSyntax ^ initializer, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax initializer, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax? initializer, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body);
static member ConstructorDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax
Public Shared Function ConstructorDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, parameterList As ParameterListSyntax, initializer As ConstructorInitializerSyntax, body As BlockSyntax) As ConstructorDeclarationSyntax

Parameters

modifiers
SyntaxTokenList
identifier
SyntaxToken
parameterList
ParameterListSyntax

Returns

Applies to