public static bool IsLessThanOrEqual(this Values.EqualityTraits value) { Contract.Assert(value.ValidInequalityBits()); // Either the Equal or LessThan (or both) bits are set return((value & Values.EqualityTraits.LessThanEqual) != 0); }
static Values.EqualityTraits GetInequalityBits(this Values.EqualityTraits value) { Contract.Assert(value.ValidInequalityBits()); return(value & Values.EqualityTraits.kInequalityMask); }