Navigation: X# 文档 > X# 编译器错误和警告
Error XS0637
The FieldOffset attribute is not allowed on static or const fields