CodeQL library for C#
codeql/csharp-all 0.9.0 (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()