Skip to main content

UsingDirectiveListInfo.Insert(Int32, UsingDirectiveSyntax) Method

Containing Type: UsingDirectiveListInfo

Assembly: Roslynator.CSharp.dll

Creates a new UsingDirectiveListInfo with the specified using directive inserted at the index.

public Roslynator.CSharp.Syntax.UsingDirectiveListInfo Insert(int index, Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax usingDirective)

Parameters

index Int32

usingDirective UsingDirectiveSyntax

Returns

UsingDirectiveListInfo