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

Class DispatchCall

A call.

Import path

import semmle.code.csharp.dispatch.Dispatch

Direct supertypes

Predicates

getADynamicTarget

Gets a dynamic (run-time) target of this call, if any.

getADynamicTargetInCallContext

Gets a dynamic (run-time) target of this call in call context ctx, if any.

getAStaticTarget

Gets a static (compile-time) target of this call.

getArgument

Gets the ith argument of this call.

getCall

Gets the underlying expression of this call.

getLocation

Gets the location of this call.

getQualifier

Gets the qualifier of this call, if any.

isReflection

Holds if this call uses reflection.

mayBenefitFromCallContext

Holds if a call context may limit the set of viable source declaration run-time targets of this call.

toString

Gets a textual representation of this call.