Files
codeql/csharp/ql/test/library-tests/overrides/Overrides12.ql
2018-12-20 10:19:59 +01:00

15 lines
265 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