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

Predicate LocalFlow::usesInstanceField

Holds if the source variable of SSA definition def is an instance field.

Import path

import semmle.code.csharp.dataflow.internal.DataFlowPrivate
predicate usesInstanceField(DefinitionExt def)