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

15 lines
265 B
Plaintext

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