Module Callable

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

Import path

semmle.code.csharp.Callable

Imports

Call

Provides all call classes.

Member

Provides classes relating to declarations and type members.

Stmt

Provides all statement classes.

Type

Provides classes for types.

Classes

AddOperator

A user-defined addition operator (+), for example

AndOperator

A user-defined and operator (&), for example

BinaryOperator

A user-defined binary operator.

Callable

An element that can be called.

ComplementOperator

A user-defined complement operator (~), for example

Constructor

A constructor, for example public C() { } on line 2 in

ConversionOperator

A user-defined conversion operator, for example

DecrementOperator

A user-defined decrement operator (--), for example

Destructor

A destructor, for example ~C() { } on line 2 in

DivOperator

A user-defined division operator (/), for example

EQOperator

A user-defined equals operator (==), for example

ExplicitConversionOperator

A user-defined explicit conversion operator, for example

ExtensionMethod

An extension method, for example

FalseOperator

A user-defined false operator (false), for example

GEOperator

A user-defined greater than or equals operator (>=), for example

GTOperator

A user-defined greater than operator (>), for example

ImplicitConversionOperator

A user-defined implicit conversion operator, for example

IncrementOperator

A user-defined increment operator (++), for example

InstanceConstructor

An instance constructor (as opposed to a static constructor), for example public C() { } on line 2 in

LEOperator

A user-defined less than or equals operator (<=), for example

LShiftOperator

A user-defined left shift operator (<<), for example

LTOperator

A user-defined lesser than operator (<), for example

LocalFunction

A local function, defined within the scope of another callable. For example, Fac on lines 2–4 in

Method

A method, for example

MinusOperator

A user-defined minus operator (-), for example

MulOperator

A user-defined multiplication operator (*), for example

NEOperator

A user-defined not equals operator (!=), for example

NotOperator

A user-defined not operator (!), for example

Operator

A user-defined operator.

OrOperator

A user-defined or operator (|), for example

PlusOperator

A user-defined plus operator (+), for example

RShiftOperator

A user-defined right shift operator (>>), for example

RemOperator

A user-defined remainder operator (%), for example

StaticConstructor

A static constructor (as opposed to an instance constructor), for example static public C() { } on line 2 in

SubOperator

A user-defined subtraction operator (-), for example

TrueOperator

A user-defined true operator (true), for example

UnaryOperator

A user-defined unary operator - an operator taking one operand.

XorOperator

A user-defined xor operator (^), for example