This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unexpected error is thrown in while compiling scripts

Hi,

I am getting unexpected error "Statement cannot be called within method body" in scripts. These scripts used to work before and suddenly stopped working and throws this error. Please suggest how to resolve it. 

Parents Reply
  • What version are you using, Ruchita?

    And nothing stops suddenly without changing anything. I assume that some script has changed and that change leads to the compilation error.

    The easiest way to get to the bottom of this is to use the System Libary (System Debugger)  and use the power of Visual Studio to identify the root cause.

Children