Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0227
Unsafe code may only appear if compiling with /unsafe