Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS4004
Cannot await in an unsafe context