Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0636
The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)