FileLinePositionSpanExtensions Class
Namespace: Roslynator
Assembly: Roslynator.Core.dll
A set of extension methods for FileLinePositionSpan.
public static class FileLinePositionSpanExtensions
Methods
| Method | Summary |
|---|---|
| EndLine(FileLinePositionSpan) | Returns zero-based index of the end line of the specified span. |
| IsMultiLine(FileLinePositionSpan) | Returns true if the specified FileLinePositionSpan spans over multiple lines. |
| IsSingleLine(FileLinePositionSpan) | Returns true if the specified FileLinePositionSpan does not span over multiple lines. |
| StartLine(FileLinePositionSpan) | Returns zero-based index of the start line of the specified span. |