Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS4009
'{0}': an entry point cannot be marked with the 'async' modifier