CodeQL library for C#
codeql/csharp-all 0.10.0 (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)