Files
codeql/csharp/ql/examples/mutual_recursion.ql
2019-07-26 17:47:11 +02:00

16 lines
231 B
Plaintext

/**
* @name Mutual recursion
* @description Finds pairs of methods that call each other.
* @tags method
* recursion
*/
import csharp
from Method m, Method n
where m.calls(n)
and n.calls(m)
and m != n
select m, n