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

Class VariableCapture::CapturedSsaSourceVariable

Import path

import semmle.code.csharp.dataflow.internal.DataFlowPrivate

Direct supertypes

Indirect supertypes

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

Gets the callable in which this source variable is defined.

from SourceVariable
getLocation

Gets the location of this 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
toString

Gets a textual representation of this source variable.

from SourceVariable

Charpred