mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
14 lines
209 B
Plaintext
14 lines
209 B
Plaintext
/**
|
|
* @name Test for overrides
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Class c, Method m
|
|
where
|
|
m.fromSource() and
|
|
not m.isAbstract() and
|
|
c.hasMethod(m) and
|
|
c.getName() = "D"
|
|
select m, m.getDeclaringType().getName()
|