mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
8 lines
186 B
Plaintext
8 lines
186 B
Plaintext
/**
|
|
* @name Test for well-formed switches
|
|
*/
|
|
import csharp
|
|
|
|
from SwitchStmt s
|
|
select s, s.getCondition(), count(s.getAConstCase()), count(s.getDefaultCase()), count(s.getAChildStmt())
|