mirror of
https://github.com/github/codeql.git
synced 2026-03-05 07:06:47 +01:00
14 lines
210 B
Plaintext
14 lines
210 B
Plaintext
/**
|
|
* @name Test for properties
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Property p
|
|
where
|
|
p.hasName("X") and
|
|
p.getDeclaringType().hasFullyQualifiedName("Properties", "A") and
|
|
p.isReadOnly() and
|
|
p.isVirtual()
|
|
select p
|