mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
16 lines
254 B
Plaintext
16 lines
254 B
Plaintext
/**
|
|
* @name Test for properties
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Property p
|
|
where
|
|
p.hasName("Y") and
|
|
p.getDeclaringType().hasQualifiedName("Properties.A") and
|
|
p.isReadWrite() and
|
|
not p.isAutoImplemented() and
|
|
p.isVirtual() and
|
|
p.isPublic()
|
|
select p
|