Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS9060
Cannot cast type '{0}' to '{1}'