mirror of
https://github.com/github/codeql.git
synced 2026-03-27 01:38:22 +01:00
15 lines
310 B
Plaintext
15 lines
310 B
Plaintext
/**
|
|
* @name Test for properties
|
|
*/
|
|
import csharp
|
|
|
|
from Property p
|
|
where p.hasName("Z")
|
|
and p.getDeclaringType().hasQualifiedName("Properties.B")
|
|
and p.isReadWrite()
|
|
and not p.isAutoImplemented()
|
|
and p.isOverride() and p.isPublic()
|
|
and p.getGetter().hasBody()
|
|
and p.getSetter().hasBody()
|
|
select p
|