Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0637
The FieldOffset attribute is not allowed on static or const fields