mirror of
https://github.com/github/codeql.git
synced 2026-02-26 03:43:41 +01:00
13 lines
268 B
Plaintext
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()
|
|
|