Skip to main content

MemberDeclarationListInfo.Insert(Int32, MemberDeclarationSyntax) Method

Containing Type: MemberDeclarationListInfo

Assembly: Roslynator.CSharp.dll

Creates a new MemberDeclarationListInfo with the specified member inserted at the index.

public Roslynator.CSharp.Syntax.MemberDeclarationListInfo Insert(int index, Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax member)

Parameters

index Int32

member MemberDeclarationSyntax

Returns

MemberDeclarationListInfo