SyntaxTreeExtensions.GetEndLine(SyntaxTree, TextSpan, CancellationToken) Method
Containing Type: SyntaxTreeExtensions
Assembly: Roslynator.Core.dll
Returns zero-based index of the end line of the specified span.
public static int GetEndLine(this Microsoft.CodeAnalysis.SyntaxTree syntaxTree, Microsoft.CodeAnalysis.Text.TextSpan span, System.Threading.CancellationToken cancellationToken = default)
Parameters
syntaxTree SyntaxTree
span TextSpan
cancellationToken CancellationToken