CodeQL library for C#
Search

Class WriteDefinition

An SSA definition that corresponds to a write.

Import path

import semmle.code.csharp.dataflow.internal.SsaImplCommon

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

toString

Gets a textual representation of this SSA definition.

Inherited predicates

definesAt

Holds if this SSA definition defines v at index i in basic block bb. Phi nodes are considered to be at index -1, while normal variable writes are at the index of the control flow node they wrap.

from Definition
getBasicBlock

Gets the basic block to which this SSA definition belongs.

from Definition
getSourceVariable

Gets the source variable underlying this SSA definition.

from Definition

Charpred