 <p>if "; is expected" maybe before these lines you have forgotten to end your previous line. Otherwise do a recompile. Sometimes, intellisense has to be rebooted (don't know why). Reboot VS if you will see this mistake again.</p>