Module BitwiseOperation

Provides all bitwise operation classes.

All bitwise operations have the common base class BitwiseOperation.

Import path

semmle.code.csharp.exprs.BitwiseOperation

Imports

Expr

Provides all expression classes.

Classes

BinaryBitwiseOperation

A binary bitwise operation. Either a bitwise-and operation (BitwiseAndExpr), a bitwise-or operation (BitwiseOrExpr), a bitwise exclusive-or operation (BitwiseXorExpr), a left-shift operation (LShiftExpr), or a right-shift operation (RShiftExpr).

BitwiseAndExpr

A bitwise-and operation, for example x & y.

BitwiseOperation

A bitwise operation. Either a unary bitwise operation (UnaryBitwiseOperation) or a binary bitwise operation (BinaryBitwiseOperation).

BitwiseOrExpr

A bitwise-or operation, for example x | y.

BitwiseXorExpr

A bitwise exlusive-or operation, for example x ^ y.

ComplementExpr

A bitwise complement operation, for example ~x.

LShiftExpr

A left-shift operation, for example x << y.

RShiftExpr

A right-shift operation, for example x >> y.

UnaryBitwiseOperation

A unary bitwise operation, that is, a bitwise complement operation (ComplementExpr).