mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01: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())
|