Using this type constraint in a class causes the type, and referencing types, to fail to load. Consider using struct instead.