Why can't I use public void PVFS

Im using it to allow another script to access it, so it can change it. This is the error Im getting Assets/scripts/TimedSpawn.cs(11,14): error CS0501: `TimedSpawn.PVFS()’ must have a body because it is not marked abstract, extern, or partial

public GameObject spawnee;
public bool stopSpawning = false;
public float spawnTime;
public float spawnDelay;

// Use this for initialization
void Start () {
	InvokeRepeating("SpawnObject", spawnTime, spawnDelay);
}

public void SpawnObject() {
	Instantiate (spawnee, transform.position, transform.rotation);
	if (stopSpawning) {
		CancelInvoke ("SpawnObject")
	
		public void PVFS() 
		}

		Debug.Log(stopSpawning);

	}

}

}

public void PVFS()
}

Just look at this.

1. You can’t create method in method (for now).

2. You’ve missed semicolons “public void PVFS() { //code }” if you want to create this method.

3. If you want acces this method from other script you declare only name of this method BUT you need reference to script, like this:

make variable => ExampleScript exampleScript;

in Awake or Start => exampleScript = FindObjectOfType<ExampleScript>();

wherever in script => exampleScript.PVFS();