mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
11 lines
258 B
Plaintext
11 lines
258 B
Plaintext
/**
|
|
* @name Test for overrides
|
|
*/
|
|
import csharp
|
|
|
|
from Property ap2, Property bp2
|
|
where ap2.hasName("P2") and ap2.getDeclaringType().hasName("A")
|
|
and bp2.hasName("P2") and bp2.getDeclaringType().hasName("B")
|
|
and ap2.getOverridee() = bp2
|
|
select ap2, bp2
|