Navigation: X# 文档 > X# 编译器错误和警告
Error XS0198
A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)