The struct, record or union type '{0}' is not structurally comparable because the type '{1}' does not satisfy the 'comparison' ...

The struct, record or union type '{0}' is not structurally comparable because the type '{1}' does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type '{2}' to clarify that the type is not comparable