Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8057
Methods cannot combine block bodies with expression bodies.