Files
codeql/csharp/ql/test/library-tests/exprorstmtparent/Property.ql
2018-12-20 10:19:59 +01:00

9 lines
165 B
Plaintext

import csharp
from Property p, Expr e, string s
where
e = p.getExpressionBody() and s = "body"
or
e = p.getInitializer() and s = "initializer"
select p, e, s