mirror of
https://github.com/github/codeql.git
synced 2026-03-06 15:49:08 +01:00
18 lines
326 B
Plaintext
18 lines
326 B
Plaintext
/**
|
|
* @name Test for properties
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Property p
|
|
where
|
|
p.hasName("Z") and
|
|
p.getDeclaringType().hasQualifiedName("Properties", "A") and
|
|
p.isReadWrite() and
|
|
not p.isAutoImplemented() and
|
|
p.isAbstract() and
|
|
p.isPublic() and
|
|
not p.getGetter().hasBody() and
|
|
not p.getSetter().hasBody()
|
|
select p
|