Module Call

Provides all call classes.

All calls have the common base class Call.

Import path

semmle.code.csharp.exprs.Call

Imports

Callable

Provides Callable classes, which are things that can be called such as methods and operators.

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), or a constructor call (ObjectCreation).

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

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

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

Aliases

CallContext

Provides classes for data flow call contexts.