mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
11 lines
258 B
Plaintext
11 lines
258 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
|