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

Predicate Make::adjacentDefRead

NB: If this predicate is exposed, it should be cached.

Same as adjacentDefReadExt, but ignores phi-reads.

Import path

import codeql.ssa.Ssa
predicate adjacentDefRead(Definition def, BasicBlock bb1, int i1, BasicBlock bb2, int i2)