Navigation: X# 文档 > X# 编译器错误和警告
Error XS8508
The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.