Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0722
'{0}': static types cannot be used as return types