Files
codeql/csharp/ql/test/library-tests/statements/Switch1.ql
2018-08-02 17:53:23 +01:00

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())