mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
11 lines
254 B
Plaintext
11 lines
254 B
Plaintext
/**
|
|
* @name Test for overrides
|
|
*/
|
|
import csharp
|
|
|
|
from Method af3, Method bf3
|
|
where af3.hasName("f3") and af3.getDeclaringType().hasName("A")
|
|
and bf3.hasName("f3") and bf3.getDeclaringType().hasName("B")
|
|
and af3.getOverridee() = bf3
|
|
select af3, bf3
|