mirror of
https://github.com/github/codeql.git
synced 2026-03-05 15:16:47 +01:00
16 lines
262 B
Plaintext
16 lines
262 B
Plaintext
/**
|
|
* @name Test for properties
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Property p
|
|
where
|
|
p.hasName("Y") and
|
|
p.getDeclaringType().hasFullyQualifiedName("Properties", "A") and
|
|
p.isReadWrite() and
|
|
not p.isAutoImplemented() and
|
|
p.isVirtual() and
|
|
p.isPublic()
|
|
select p
|