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

Class Use

An element with an associated definition.

Import path

import definitions

Direct supertypes

Known direct subtypes

    Predicates

    getDefinition

    Gets the definition associated with this element.

    getUseType

    Gets the type of use.

    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.

    toString

    Gets a textual representation of this element.