CodeQL library for C#
codeql/csharp-all 3.1.1 (changelog, source)
Search

Member predicate SwitchStmt::getAConstCase

Gets a constant value case of this switch statement, if any.

ConstCase getAConstCase()