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

Member predicate CaseStmt::getSwitchStmt

Gets the switch statement that this case statement belongs to.

SwitchStmt getSwitchStmt()