Hey guys I am having an eror

Hey guys I am having an error here is the error:
Assets/TheEscape.cs(8,19): error CS8025: Parsing error
even though I have a curly brackets
here’s the code:

using UnityEngine;
using System.Collections;

public class TheEscape : MonoBehaviour {

public void LoadScene(string name){
	Application.LoadLevel (name);
}

If that’s the entire class, you’re missing the closing brace at the very end…