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

10 lines
184 B
Plaintext

/**
* @name Test for indices of block children
*/
import csharp
where
forall(BlockStmt b | forall(int n | n in [0 .. b.getNumberOfStmts() - 1] | exists(b.getChild(n))))
select 1