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

Class Ssa::SourceVariables::FieldOrPropSourceVariable

A fully qualified field or property.

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.

getLocation

Gets the location 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
getEnclosingCallable

Gets the callable in which this source variable is defined.

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
toString

Gets a textual representation of this source variable.

from SourceVariable

Charpred