Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS4005
Async methods cannot have unsafe parameters or return types