Range Type
Represents a range within a file
Instance members
Instance member |
Description
|
The end position of the range
|
|
Full Usage:
this.EndColumn
Returns: int
|
The column number for the end position of the range
|
Full Usage:
this.EndLine
Returns: int
|
The line number for the end position of the range
|
|
The empty range that is located at the end position of the range
|
Full Usage:
this.FileIndex
Returns: int
|
The file index for the range
|
Full Usage:
this.FileName
Returns: string
|
The file name for the file of the range
|
|
|
Full Usage:
this.IsSynthetic
Returns: bool
|
Synthetic marks ranges which are produced by intermediate compilation phases. This bit signifies that the range covers something that should not be visible to language service operations like dot-completion.
|
|
Convert a range to be synthetic
|
|
|
|
When de-sugaring computation expressions we convert a debug point into a plain range, and then later recover that the range definitely indicates a debug point.
|
|
The start position of the range
|
Full Usage:
this.StartColumn
Returns: int
|
The start column of the range
|
Full Usage:
this.StartLine
Returns: int
|
The start line of the range
|
|
The empty range that is located at the start position of the range
|
Static members
Static member |
Description
|
|
The range where all values are zero
|