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