Ошибка CS1022

Здравствуйте, выдаёт ошибку в коде (87,1): error CS1022: Type or namespace definition, or end-of-file expected

using System;
using System.Collections.Generic;
using UnityEngine;

namespace NWH.VehiclePhysics2.Effects
{
    /// <summary>
    ///     Single vehicle light.
    /// </summary>
    [Serializable]
    public partial class VehicleLight
    {
        /// <summary>
        ///     All the light sources representing the vehicle light.
        ///     E.g. low beam can be represented by a directional light to represent light beam and
        ///     and emissive mesh to represent light optics.
        /// </summary>
        [Tooltip(
            "    All the light sources representing the vehicle light.\r\n    E.g. low beam can be represented by a directional light to represent light beam and\r\n    and emissive mesh to represent light optics.")]
        public List<LightSource> lightSources = new List<LightSource>();
    }
        protected bool isOn;

        /// <summary>
        ///     State of the light.
        /// </summary>
        public bool On
        {
            get { return isOn; }
            set { isOn = value; }
        }


        public void SetState(bool state)
        {
            if (state)
            {
                TurnOn();
            }
            else
            {
                TurnOff();
            }
        }


        public void Toggle()
        {
            if (isOn)
            {
                TurnOff();
            }
            else
            {
                TurnOn();
            }
        }


        /// <summary>
        ///     Turns off the light source or disables emission on the mesh. Mesh is required to have standard shader.
        /// </summary>
        public void TurnOff()
        {
            foreach (LightSource source in lightSources)
            {
                source.TurnOff();
            }

            isOn = false;
        }


        /// <summary>
        ///     Turns on the light source or enables emission on the mesh. Mesh is required to have standard shader.
        /// </summary>
        public void TurnOn()
        {
            foreach (LightSource source in lightSources)
            {
                source.TurnOn();
            }

            isOn = true;
        }
    }
}

{ и } не сбалансированы. Редактор кода наверно ж подчеркнул красным.

где-то скобки лишние или где-то их не хватает