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

Class Ssa::SourceVariables::LocalScopeSourceVariable

A local scope variable.

Import path

import csharp

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getAssignable

    Gets the assignable corresponding to this source variable. Either a local scope variable, a field, or a property.

    getEnclosingCallable

    Gets the callable in which this source variable is defined.

    getLocation

    Gets the location of this source variable.

    toString

    Gets a textual representation of this source variable.

    Inherited predicates

    getADefinition

    Gets a definition of this source variable.

    from SourceVariable
    getAnAccess

    Gets an access to this source variable.

    from SourceVariable
    getAnSsaDefinition

    Gets an SSA definition that has this variable as its underlying source variable.

    from SourceVariable
    getQualifier

    Gets the qualifier of this source variable, if any.

    from SourceVariable
    getType

    Gets the type of this source variable.

    from SourceVariable
    isCaptured

    Holds if this variable is captured by a nested callable.

    from SourceVariable