'GoTo <labelname>' is not valid because '<labelname>' is inside a 'SyncLock' statement that does not contain this statement
You cannot branch into a SyncLock block.
Error ID: BC30755
To correct this error
- Restructure your code so that the label precedes the SyncLock block.