Navigation: X# 文档 > X# 编译器错误和警告
Error XS0825
The contextual keyword 'var' may only appear within a local variable declaration or in script code