mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
15 lines
259 B
Plaintext
15 lines
259 B
Plaintext
/**
|
|
* @name Test for overrides
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Event ae1, Event be1
|
|
where
|
|
ae1.hasName("E1") and
|
|
ae1.getDeclaringType().hasName("A") and
|
|
be1.hasName("E1") and
|
|
be1.getDeclaringType().hasName("B") and
|
|
ae1.getOverridee() = be1
|
|
select ae1, be1
|