An unexpected error occurred.

Namespace declaration statement has to be the very first statement or after any declare call in the script