Navigation: X# 文档 > X# 编译器错误和警告
Error XS0185
'{0}' is not a reference type as required by the lock statement