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