Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0315
The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion from '{3}' to '{1}'.