Skip to main content

CSharpFactory.ComplexElementInitializerExpression Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
ComplexElementInitializerExpression(SeparatedSyntaxList<ExpressionSyntax>)
ComplexElementInitializerExpression(SyntaxToken, SeparatedSyntaxList<ExpressionSyntax>, SyntaxToken)

ComplexElementInitializerExpression(SeparatedSyntaxList<ExpressionSyntax>)

public static Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax ComplexElementInitializerExpression(Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax> expressions = default)

Parameters

expressions SeparatedSyntaxList<ExpressionSyntax>

Returns

InitializerExpressionSyntax

ComplexElementInitializerExpression(SyntaxToken, SeparatedSyntaxList<ExpressionSyntax>, SyntaxToken)

public static Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax ComplexElementInitializerExpression(Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax> expressions, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken)

Parameters

openBraceToken SyntaxToken

expressions SeparatedSyntaxList<ExpressionSyntax>

closeBraceToken SyntaxToken

Returns

InitializerExpressionSyntax