Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS1994
The 'async' modifier can only be used in methods that have a body.