BitwiseOrEvaluateConstants Method |
Perform a bitwise OR of two constant objects.
Supported types are: string, bool, enum, decimal, double, float, ulong, long, uint, int, ushort, short, char, byte, sbyte.
Namespace:
Nova.CodeDOM
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax protected override Object EvaluateConstants(
Object leftConstant,
Object rightConstant
)
Parameters
- leftConstant
- Type: SystemObject
- rightConstant
- Type: SystemObject
Return Value
Type:
Object
The bitwise OR of the two constants, using the appropriate result type, including promoting smaller
types to int. Returns null if the operation is invalid.
See Also