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

Class DataFlowCall

A call relevant for data flow.

Import path

import semmle.code.csharp.dataflow.internal.DataFlowDispatch

Direct supertypes

Known direct subtypes

    Predicates

    getARuntimeTarget

    Gets a run-time target of this call. A target is always a source declaration, and if the callable has both CIL and source code, only the source code version is returned.

    getArgument

    Gets the argument at position pos of this call.

    getControlFlowNode

    Gets the control flow node where this call happens, if any.

    getEnclosingCallable

    Gets the enclosing callable of this call.

    getExpr

    Gets the underlying expression, if any.

    getLocation

    Gets the location of this call.

    getNode

    Gets the data flow node corresponding to this call, if any.

    hasLocationInfo

    Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

    toString

    Gets a textual representation of this call.