Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS1023
Embedded statement cannot be a declaration or labeled statement