Navigation: X# 文档 > X# 编译器错误和警告
Error XS8337
The first parameter of a 'ref' extension method '{0}' must be a value type or a generic type constrained to struct.