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

Predicate hasAccessingMethod

whether t has a method m that accesses some local field,

Import path

import semmle.code.csharp.metrics.Coupling
predicate hasAccessingMethod(ValueOrRefType t, Method m)