Skip to main content

UsingDirectiveListInfo.InsertRange(Int32, IEnumerable<UsingDirectiveSyntax>) Method

Containing Type: UsingDirectiveListInfo

Assembly: Roslynator.CSharp.dll

Creates a new UsingDirectiveListInfo with the specified usings inserted at the index.

public Roslynator.CSharp.Syntax.UsingDirectiveListInfo InsertRange(int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> usings)

Parameters​

index   Int32

usings   IEnumerable<UsingDirectiveSyntax>

Returns​

UsingDirectiveListInfo