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

Predicate Cached :: firstReadSameVar

Holds if the value defined at SSA definition def can reach a read at cfn, without passing through any other read.

Import path

import semmle.code.csharp.dataflow.internal.SsaImpl
predicate firstReadSameVar ( Definition def , Node cfn )