mirror of
https://github.com/github/codeql.git
synced 2026-03-26 17:28:29 +01:00
12 lines
199 B
Plaintext
12 lines
199 B
Plaintext
/**
|
|
* @name Test for properties
|
|
*/
|
|
import csharp
|
|
|
|
from Property p
|
|
where p.hasName("X")
|
|
and p.getDeclaringType().hasQualifiedName("Properties.A")
|
|
and p.isReadOnly()
|
|
and p.isVirtual()
|
|
select p
|