Files
codeql/csharp/ql/test/library-tests/overrides/Overrides12.ql
2018-08-02 17:53:23 +01:00

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