Closed
Description
I'm unsure how feasible this is but it would be helpful if the helper isn't emitted if the struct is never boxed (and never gets a constrained call on Equals/GetHashCode either).
I understand the difficulty of tracking whether a struct is 'boxed', as generics (and (T)(object)value
casts etc) significantly complicate the analysis. Though with struct types forcing specialization it should not be impossible to get some certainty?
Metadata
Metadata
Assignees
Type
Projects
Status
No status