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

Predicate SourceVariableImpl::ownFieldOrPropAccess

Holds if fpa is an access to an instance field or property of this.

Import path

import semmle.code.csharp.dataflow.internal.SsaImpl
predicate ownFieldOrPropAccess(FieldOrPropAccess fpa)