SyntaxTreeExtensions.IsMultiLineSpan(SyntaxTree, TextSpan, CancellationToken) Method
Containing Type: SyntaxTreeExtensions
Assembly: Roslynator.Core.dll
Returns true if the specified TextSpan spans over multiple lines.
public static bool IsMultiLineSpan(this Microsoft.CodeAnalysis.SyntaxTree syntaxTree, Microsoft.CodeAnalysis.Text.TextSpan span, System.Threading.CancellationToken cancellationToken = default)
Parameters
syntaxTree SyntaxTree
span TextSpan
cancellationToken CancellationToken