Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS1651
Fields of static readonly field '{0}' cannot be passed ref or out (except in a static constructor)