mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
16 lines
231 B
Plaintext
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
|
|
|