Class SourceRange
Text range within a resource. All numbers are zero-based.
public sealed record SourceRange : IEquatable<SourceRange>
- Inheritance
-
SourceRange
- Implements
- Inherited Members
Constructors
SourceRange(long, long, long, long)
Text range within a resource. All numbers are zero-based.
public SourceRange(long StartLine, long StartColumn, long EndLine, long EndColumn)
Parameters
StartLinelongStart line of range.
StartColumnlongStart column of range (inclusive).
EndLinelongEnd line of range
EndColumnlongEnd column of range (exclusive).
Properties
EndColumn
End column of range (exclusive).
public long EndColumn { get; init; }
Property Value
EndLine
End line of range
public long EndLine { get; init; }
Property Value
StartColumn
Start column of range (inclusive).
public long StartColumn { get; init; }
Property Value
StartLine
Start line of range.
public long StartLine { get; init; }