mirror of
https://github.com/github/codeql.git
synced 2026-03-22 15:36:48 +01:00
9 lines
191 B
Plaintext
9 lines
191 B
Plaintext
/**
|
|
* @name Test for default switch cases
|
|
*/
|
|
import csharp
|
|
|
|
from Method m, SwitchStmt s
|
|
where s.getEnclosingCallable() = m
|
|
select m, s.getDefaultCase() as c, c.getLocation().getStartLine()
|