Skip to main content

CSharpFactory.ConstructorDeclaration Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
ConstructorDeclaration(SyntaxTokenList, SyntaxToken, ParameterListSyntax, ArrowExpressionClauseSyntax)
ConstructorDeclaration(SyntaxTokenList, SyntaxToken, ParameterListSyntax, BlockSyntax)

ConstructorDeclaration(SyntaxTokenList, SyntaxToken, ParameterListSyntax, ArrowExpressionClauseSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody)

Parameters

modifiers SyntaxTokenList

identifier SyntaxToken

parameterList ParameterListSyntax

expressionBody ArrowExpressionClauseSyntax

Returns

ConstructorDeclarationSyntax

ConstructorDeclaration(SyntaxTokenList, SyntaxToken, ParameterListSyntax, BlockSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax ConstructorDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body)

Parameters

modifiers SyntaxTokenList

identifier SyntaxToken

parameterList ParameterListSyntax

body BlockSyntax

Returns

ConstructorDeclarationSyntax