Skip to main content

StatementListInfo.AddRange(IEnumerable<StatementSyntax>) Method

Containing Type: StatementListInfo

Assembly: Roslynator.CSharp.dll

Creates a new StatementListInfo with the specified statements added at the end.

public Roslynator.CSharp.Syntax.StatementListInfo AddRange(System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax> statements)

Parameters

statements IEnumerable<StatementSyntax>

Returns

StatementListInfo