Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0515
'{0}': access modifiers are not allowed on static constructors