mirror of
https://github.com/github/codeql.git
synced 2026-03-01 13:23:49 +01:00
16 lines
277 B
Plaintext
16 lines
277 B
Plaintext
/**
|
|
* @name Test for properties
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Property p
|
|
where
|
|
p.hasName("X") and
|
|
p.getDeclaringType().hasQualifiedName("Properties", "ReadOnlyPoint") and
|
|
p.isReadWrite() and
|
|
p.isPublic() and
|
|
p.isAutoImplemented() and
|
|
p.getSetter().isPrivate()
|
|
select p
|