Click or drag to resize

BitwiseXorEvaluateConstants Method

Perform a bitwise XOR 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
C#
protected override Object EvaluateConstants(
	Object leftConstant,
	Object rightConstant
)

Parameters

leftConstant
Type: SystemObject
rightConstant
Type: SystemObject

Return Value

Type: Object
The bitwise XOR of the two constants, using the appropriate result type, including promoting smaller types to int. Returns null if the operation is invalid.
See Also