mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
11 lines
197 B
Plaintext
11 lines
197 B
Plaintext
/**
|
|
* @name Test for breaks
|
|
*/
|
|
import csharp
|
|
|
|
from Method m, BreakStmt s
|
|
where m.getName() = "MainBreak"
|
|
and s.getEnclosingCallable() = m
|
|
and s.getParent().(IfStmt).getThen() = s
|
|
select m, s
|