internal static bool IsSet(LineSettings value, LineSettings bit) { if (value == bit) return true; return (((UInt32)value & (UInt32)bit) != 0); }