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

Class Completion

A completion of a statement or an expression.

Import path

import semmle.code.csharp.controlflow.internal.Completion

Direct supertypes

Known direct subtypes

    Predicates

    continuesLoop

    Holds if this completion will continue a loop when it is the completion of a loop body.

    getAMatchingSuccessorType

    Gets a successor type that matches this completion.

    getInnerCompletion

    Gets the inner completion. This is either the inner completion, when the completion is nested, or the completion itself.

    getOuterCompletion

    Gets the outer completion. This is either the outer completion, when the completion is nested, or the completion itself.

    isValidFor

    Holds if this completion is valid for control flow element cfe.

    toString

    Gets a textual representation of this completion.