Type parameter '|1' must have either a 'New' constraint or a 'Structure' constraint to satisfy the 'New' constraint for type ...