mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
14 lines
227 B
Plaintext
14 lines
227 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") and not m instanceof ConstructedMethod
|
|
) = 6
|
|
select c
|