Navigation: X# 文档 > X# 编译器错误和警告
Error XS4012
Parameters or locals of type '{0}' cannot be declared in async methods or lambda expressions.