Skip to main content

UsingDirectiveListInfo.Add(UsingDirectiveSyntax) Method

Containing Type: UsingDirectiveListInfo

Assembly: Roslynator.CSharp.dll

Creates a new UsingDirectiveListInfo with the specified using directive added at the end.

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

Parameters

usingDirective UsingDirectiveSyntax

Returns

UsingDirectiveListInfo