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

Predicate shareFieldOrProperty

whether m1 and m2 access a common field or property

Import path

import semmle.code.csharp.metrics.Coupling
predicate shareFieldOrProperty(ValueOrRefType t, Method m1, Method m2)