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