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

Predicate depends

whether t depends on u

Import path

import semmle.code.csharp.metrics.Coupling
predicate depends(ValueOrRefType t, ValueOrRefType u)