mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
14 lines
270 B
Plaintext
14 lines
270 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()
|