Error while compiling: Unexpected symbol `CuiButton'

I get this error when i try compiling.

 

Error while compiling: RustUI.cs(82,40): error CS1525: Unexpected symbol `CuiButton'
 
Status 
 ReplyUnwatch

 

using Oxide.Game.Rust.Cui;
using System.ComponentModel.Design;
using System.Globalization;
using System.Media;


namespace Oxide.Plugins

{
    [Info("RustUI", "dwa", 0.1)]
    public class RustUI : RustPlugin
    {
        [ConsoleCommand("menu_remove")]
        void remove_menu(ConsoleSystem.Arg Args) {
            BasePlayer player = BasePlayer.FindById(System.Convert.ToUInt64(Args.Args[0]));

            CuiHelper.DestroyUi(player, "menu_ui");
        }
        [ChatCommand("ui")]
        void Ui_Handler(BasePlayer player)
        {
            var container = new CuiElementContainer();

            var panel = container.Add(new CuiPanel
            {

                Image =
                {
                    Color = "0.1 0.1 0.1 1"
                },

                RectTransform =
                {
                    AnchorMin = "0.10 0.861",
                    AnchorMax = "0.861 1"
                },
                CursorEnabled = false


            }, "Overlay", "Basic-Panel");

           

        var button = container.Add(new CuiButton

            {

                Button =
                {
                    Command = "say test",
                    Color = "0.1 0.1 0.1 1"
                },

                RectTransform =
                {
                    AnchorMin = "0.47 0",
                    AnchorMax = "0.79 0.5"

                },
                Text =
                {
                    Text = "Done",


                    FontSize = 15

                }

            }, panel);





            CuiHelper.AddUi(player, container);
        }
    }

    var close_button = elements.Add(new CuiButton
    {

        Button =
            {
                Command = "menu_remove" + player.usedID.ToString(),
                Color = "0.9 0.8 0.8 0.2"
            },

        RectTransform =
            {
                AnchorMin = "0.1 0.8",
                AnchorMax = "0.9 0.9"
            },
        TextElementEnumerator =
            {
                Text = "Close",
                FontSize = 18,
                Align = TextAnchor.MiddleCenter
            }

    });

}
You seem to be missing a } or a few
This 
} //<--------------

    var close_button = elements.Add(new CuiButton
    {
    });​

on


    var close_button = elements.Add(new CuiButton
    {
    });

} //<--------------