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

Class Make::DefinitionExt

An extended static single assignment (SSA) definition.

This is either a normal SSA definition (Definition) or a phi-read node (PhiReadNode).

Import path

import codeql.ssa.Ssa

Direct supertypes

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.

getBasicBlock

Gets the basic block to which this SSA definition belongs.

getLocation

Gets the location of this SSA definition.

getSourceVariable

Gets the source variable underlying this SSA definition.

toString

Gets a textual representation of this SSA definition.