CSharpFactory.CollectionInitializerExpression Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
CollectionInitializerExpression(SeparatedSyntaxList<ExpressionSyntax>) | |
CollectionInitializerExpression(SyntaxToken, SeparatedSyntaxList<ExpressionSyntax>, SyntaxToken) |
CollectionInitializerExpression(SeparatedSyntaxList<ExpressionSyntax>)
public static Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax CollectionInitializerExpression(Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax> expressions = default)
Parameters
expressions SeparatedSyntaxList<ExpressionSyntax>
Returns
CollectionInitializerExpression(SyntaxToken, SeparatedSyntaxList<ExpressionSyntax>, SyntaxToken)
public static Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax CollectionInitializerExpression(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