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

Class Ssa::SourceVariables::PlainFieldOrPropSourceVariable

A plain field or property.

Import path

import csharp

Direct supertypes

Indirect supertypes

Predicates

getEnclosingCallable

Gets the callable in which this source variable is defined.

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
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