Skip to main content

StatementListInfo.RemoveNode(SyntaxNode, SyntaxRemoveOptions) Method

Containing Type: StatementListInfo

Assembly: Roslynator.CSharp.dll

Creates a new StatementListInfo with the specified node removed.

public Roslynator.CSharp.Syntax.StatementListInfo RemoveNode(Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.SyntaxRemoveOptions options)

Parameters

node SyntaxNode

options SyntaxRemoveOptions

Returns

StatementListInfo