Skip to main content

UsingDirectiveListInfo.ReplaceNode(SyntaxNode, SyntaxNode) Method

Containing Type: UsingDirectiveListInfo

Assembly: Roslynator.CSharp.dll

Creates a new UsingDirectiveListInfo with the specified old node replaced with a new node.

public Roslynator.CSharp.Syntax.UsingDirectiveListInfo ReplaceNode(Microsoft.CodeAnalysis.SyntaxNode oldNode, Microsoft.CodeAnalysis.SyntaxNode newNode)

Parameters

oldNode SyntaxNode

newNode SyntaxNode

Returns

UsingDirectiveListInfo