Files
codeql/csharp/ql/test/library-tests/methods/Methods4.ql
2018-08-02 17:53:23 +01:00

13 lines
268 B
Plaintext

/**
* @name Test for methods
*/
import csharp
from Class c, Method m
where c.hasName("TestOverloading")
and m.getDeclaringType() = c
and m.hasName("F")
and m.getParameter(0).getType() instanceof ObjectType
select c, m, m.getParameter(0).getType().toString()