mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
214 B
Plaintext
15 lines
214 B
Plaintext
/**
|
|
* @name Test for methods
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Class c
|
|
where
|
|
c.hasName("TestOverloading") and
|
|
count(Method m |
|
|
m.getDeclaringType() = c and
|
|
(m.hasName("F") or m.hasName("F<>"))
|
|
) = 6
|
|
select c
|