MemberDeclarationListInfo.WithMembers Method
Containing Type: MemberDeclarationListInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
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
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>