Files
codeql/csharp/ql/test/library-tests/methods/Methods3.ql

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