BitwiseAndEvaluateConstants Method |
Perform a bitwise AND 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 AND of the two constants, using the appropriate result type, including promoting smaller
types to int. Returns null if the operation is invalid.
See Also