Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS1022
Type or namespace definition, or end-of-file expected