Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS4034
The 'await' operator can only be used within an async {0}. Consider marking this {0} with the 'async' modifier.