Files
codeql/csharp/ql/test/library-tests/statements/Switch1.ql
2018-12-20 10:19:59 +01:00

10 lines
189 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())