private void CheckForMissingVariable () { if (!Variables.ContainsKey(Identifier)) throw new KeyNotFoundException(String.Format("No variable named '{0}' currently exists.", Identifier)); }