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

Predicate hasAccessedFieldOrProperty

returns any field or property that is accessed by a local method

Import path

import semmle.code.csharp.metrics.Coupling
predicate hasAccessedFieldOrProperty(ValueOrRefType t, Declaration f)