Show / Hide Table of Contents

Enum UnaryOperator

Represents unary operator.

Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public enum UnaryOperator : int

Fields

Name Description
Convert

A cast or unchecked conversion operation.

ConvertChecked

A cast or checked conversion operation.

Decrement

A unary decrement operation, such as (a - 1).

Increment

A unary increment operation, such as (a + 1).

IsFalse

if(!value)

IsInstanceOf

A type test, such as obj is T

IsTrue

if(value)

Negate

An arithmetic negation operation, such as (-a)

Not

A bitwise complement or logical negation operation.

OnesComplement

A ones complement operation.

Plus

A unary plus operation, such as (+a).

TryConvert

Safe typecast operation, such as obj as T

TypeTest

An exact type test.

Extension Methods

ExpressionBuilder.Const<UnaryOperator>()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX