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

Class Ssa::SourceVariables::QualifiedFieldOrPropSourceVariable

A qualified field or property.

Import path

import csharp

Direct supertypes

Indirect supertypes

Predicates

getEnclosingCallable

Gets the callable in which this source variable is defined.

getQualifier

Gets the qualifier of this source variable, if any.

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
getAssignable

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

from FieldOrPropSourceVariable
getLocation

Gets the location of this source variable.

from FieldOrPropSourceVariable
getType

Gets the type of this source variable.

from SourceVariable
isCaptured

Holds if this variable is captured by a nested callable.

from SourceVariable