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

Predicate SourceVariableImpl::isPlainFieldOrPropAccess

Holds if fpa is an access inside callable c of this-qualified or static field or property fp.

Import path

import semmle.code.csharp.dataflow.internal.SsaImpl
predicate isPlainFieldOrPropAccess(FieldOrPropAccess fpa, FieldOrProp fp, Callable c)