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

Class NonDelegateDataFlowCall

A non-delegate C# call relevant for data flow.

Import path

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

Direct supertypes

Indirect supertypes

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.

getATarget

Gets a static or dynamic target of this call.

getControlFlowNode

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

getDispatchCall

Gets the underlying call.

getEnclosingCallable

Gets the enclosing callable of this call.

getLocation

Gets the location of this call.

getNode

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

toString

Gets a textual representation of this call.

Inherited predicates

getArgument

Gets the argument at position pos of this call.

from DataFlowCall
getExpr

Gets the underlying expression, if any.

from DataFlowCall
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.

from DataFlowCall

Charpred