mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
10 lines
183 B
Plaintext
10 lines
183 B
Plaintext
/**
|
|
* @name Test for switch cases
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Method m, SwitchStmt s
|
|
where s.getEnclosingCallable() = m
|
|
select m, s.getAConstCase() as c, c.getLocation().getStartLine()
|