mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
11 lines
254 B
Plaintext
11 lines
254 B
Plaintext
/**
|
|
* @name Test for overrides
|
|
*/
|
|
import csharp
|
|
|
|
from Method af5, Method bf5
|
|
where af5.hasName("f5") and af5.getDeclaringType().hasName("A")
|
|
and bf5.hasName("f5") and bf5.getDeclaringType().hasName("B")
|
|
and af5.getOverridee() = bf5
|
|
select af5, bf5
|