Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0678
'{0}': a field cannot be both volatile and readonly