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

15 lines
265 B
Plaintext

/**
* @name Test for overrides
*/
import csharp
from Property ap1, Property bp1
where
ap1.hasName("P1") and
ap1.getDeclaringType().hasName("A") and
bp1.hasName("P1") and
bp1.getDeclaringType().hasName("B") and
ap1.getOverridee() = bp1
select ap1, bp1