Skip to main content

SyntaxExtensions.GetNextRelatedDirective(DirectiveTriviaSyntax) Method

Containing Type: SyntaxExtensions

Assembly: Roslynator.CSharp.dll

Returns the next related directive.

public static Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax? GetNextRelatedDirective(this Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax directiveTrivia)

Parameters

directiveTrivia DirectiveTriviaSyntax

Returns

DirectiveTriviaSyntax