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

Member predicate SwitchCaseExpr::getCondition

Gets the when expression of this case, if any. For example, s.Length < 10 in string s when s.Length < 10 => s

Expr getCondition()