Skip to main content

ModifierList.RemoveAt<TNode>(TNode, Int32) Method

Containing Type: ModifierList

Assembly: Roslynator.CSharp.dll

Creates a new node with a modifier at the specified index removed.

public static TNode RemoveAt<TNode>(TNode node, int index) where TNode : Microsoft.CodeAnalysis.SyntaxNode

Type Parameters

TNode

Parameters

node TNode

index Int32

Returns

TNode