Skip to main content

StatementListInfo.InsertRange(Int32, IEnumerable<StatementSyntax>) Method

Containing Type: StatementListInfo

Assembly: Roslynator.CSharp.dll

Creates a new StatementListInfo with the specified statements inserted at the index.

public Roslynator.CSharp.Syntax.StatementListInfo InsertRange(int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax> statements)

Parameters

index Int32

statements IEnumerable<StatementSyntax>

Returns

StatementListInfo