Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8665
Method '{0}' specifies a 'class' constraint for type parameter '{1}', but corresponding type parameter '{2}' of overridden or explicitly implemented method '{3}' is not a reference type.