mirror of
https://github.com/github/codeql.git
synced 2026-03-05 23:26:51 +01:00
10 lines
175 B
Plaintext
10 lines
175 B
Plaintext
/**
|
|
* @name Test for well-formed fors
|
|
*/
|
|
import csharp
|
|
|
|
from Method m, ForStmt s
|
|
where m.getName() = "MainFor"
|
|
and s.getEnclosingCallable() = m
|
|
select s, s.getCondition()
|