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

Member predicate MakeWithSplitting::SplitImplementations::ConditionalCompletionSplitting::ConditionalCompletionSplitImpl::hasExitScope

Holds if this split is left when control passes from last out of the enclosing scope scope with completion c.

Invariant: hasExitScope(scope, last, c) implies scopeLast(scope, last, c)

predicate hasExitScope(CfgScope scope, AstNode last, Completion c)