Skip to main content

MemberDeclarationListInfo.WithMembers Method

Containing Type: MemberDeclarationListInfo

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
WithMembers(IEnumerable<MemberDeclarationSyntax>)Creates a new MemberDeclarationListInfo with the members updated.
WithMembers(SyntaxList<MemberDeclarationSyntax>)Creates a new MemberDeclarationListInfo with the members updated.

WithMembers(IEnumerable<MemberDeclarationSyntax>)

Creates a new MemberDeclarationListInfo with the members updated.

public Roslynator.CSharp.Syntax.MemberDeclarationListInfo WithMembers(System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members)

Parameters

members IEnumerable<MemberDeclarationSyntax>

Returns

MemberDeclarationListInfo

WithMembers(SyntaxList<MemberDeclarationSyntax>)

Creates a new MemberDeclarationListInfo with the members updated.

public Roslynator.CSharp.Syntax.MemberDeclarationListInfo WithMembers(Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members)

Parameters

members SyntaxList<MemberDeclarationSyntax>

Returns

MemberDeclarationListInfo