Header menu logo F# Compiler Guide

Range Type

Represents a range within a file

Instance members

Instance member Description

this.End

Full Usage: this.End

Returns: pos

The end position of the range

Returns: pos

this.EndColumn

Full Usage: this.EndColumn

Returns: int

The column number for the end position of the range

Returns: int

this.EndLine

Full Usage: this.EndLine

Returns: int

The line number for the end position of the range

Returns: int

this.EndRange

Full Usage: this.EndRange

Returns: range

The empty range that is located at the end position of the range

Returns: range

this.FileName

Full Usage: this.FileName

Returns: string

The file name for the file of the range

Returns: string

this.IsSynthetic

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.

Returns: bool

this.Start

Full Usage: this.Start

Returns: pos

The start position of the range

Returns: pos

this.StartColumn

Full Usage: this.StartColumn

Returns: int

The start column of the range

Returns: int

this.StartLine

Full Usage: this.StartLine

Returns: int

The start line of the range

Returns: int

this.StartRange

Full Usage: this.StartRange

Returns: range

The empty range that is located at the start position of the range

Returns: range

Static members

Static member Description

Range.Zero

Full Usage: Range.Zero

Returns: range

The range where all values are zero

Returns: range

Type something to start searching.