mirror of
https://github.com/github/codeql.git
synced 2026-06-18 19:31:11 +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())
|