Navigation: X# 文档 > X# 编译器错误和警告
Error XS0636
The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)