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

Class ConditionalCompletionSplitting::ConditionalCompletionSplit

A split for conditional completions. For example, in

void M(int i)
{
    if (x && !y)
        System.Console.WriteLine("true")
}

we record whether x, y, and !y evaluate to true or false, and restrict the edges out of !y and x && !y accordingly.

Import path

import semmle.code.csharp.controlflow.internal.Splitting

Direct supertypes

Indirect supertypes

Fields

Predicates

toString

Gets a textual representation of this split.

Charpred