Enum UnaryOperator
Represents unary operator.
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
[Serializable]
public enum UnaryOperator
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. |