Skip to main content

UsingDirectiveListInfo.Remove(UsingDirectiveSyntax) Method

Containing Type: UsingDirectiveListInfo

Assembly: Roslynator.CSharp.dll

Creates a new UsingDirectiveListInfo with the specified using directive removed.

public Roslynator.CSharp.Syntax.UsingDirectiveListInfo Remove(Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax usingDirective)

Parameters​

usingDirective   UsingDirectiveSyntax

Returns​

UsingDirectiveListInfo