Navigation: X# 文档 > X# 编译器错误和警告
Error XS8351
Branches of a ref ternary operator cannot refer to variables with incompatible declaration scopes