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

Module Call

Provides all call classes.

All calls have the common base class Call.

Import path

import semmle.code.csharp.exprs.Call

Imports

Expr

Provides all expression classes.

Classes

AccessorCall

A call to an accessor. Either a property accessor call (PropertyCall), an indexer accessor call (IndexerCall), or an event accessor call (EventCall).

Call

A call. Either a method call (MethodCall), a constructor initializer call (ConstructorInitializer), a call to a user-defined operator (OperatorCall), a delegate call (DelegateCall), an accessor call (AccessorCall), a constructor call (ObjectCreation), or a local function call (LocalFunctionCall).

ConstructorInitializer

A constructor initializer call, for example base() (line 6) and this(0) (line 8) in

DelegateCall

A delegate call, for example x() on line 5 in

DelegateLikeCall

A function pointer or delegate call.

EventCall

A call to an event accessor, for example the call to add_Click (defined on line 5) on line 12 in

ExtensionMethodCall

A call to an extension method, for example lines 5 and 6 in

FunctionPointerCall

A function pointer call, for example fp(1) on line 3 in

IndexerCall

A call to an indexer accessor, for example the call to get_Item (defined on line 3) on line 7 in

LocalFunctionCall

A call to a local function, for example the call Fac(n) on line 6 in

MethodCall

A method call, for example a.M() on line 5 in

MutatorOperatorCall

A call to a user-defined mutator operator, for example a++ on line 7 in

OperatorCall

A call to a user-defined operator, for example this + other on line 7 in

PropertyCall

A call to a property accessor, for example the call to get_P on line 5 in

VirtualMethodCall

A virtual method call, for example a.M() on line 5 in