CodeQL library for C#
codeql/csharp-all 3.1.1 (changelog, source)
Search

Class EmptyLocation

An empty location.

Import path

import csharp

Direct supertypes

Indirect supertypes

Inherited predicates

before

Holds if this location starts before the specified location.

from Location
getEndColumn

Gets the 1-based column number (inclusive) where this location ends.

from Location
getEndLine

Gets the 1-based line number (inclusive) where this location ends.

from Location
getFile

Gets the file of the location.

from Location
getStartColumn

Gets the 1-based column number (inclusive) where this location starts.

from Location
getStartLine

Gets the 1-based line number (inclusive) where this location starts.

from Location
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from Location
strictlyBefore

Holds if this location starts strictly before the specified location.

from Location
toString

Gets a textual representation of this location.

from Location

Charpred