Open michalciolek opened 1 year ago
I would recommend to switch to a source generator to auto-implement the equality pattern.
@tom-englert can you elaborate because I don't understand. Now I manually wrote the equals code (using visual studio code generator) as a solution. That's what you mean?
Something like this https://github.com/diegofrata/Generator.Equals
Describe the issue
I added nullable to my enum field in class (with [Equls]):
This cause my result binary to have a (circular) reference to itself:
Without nullability, in enum, my result binary does not have reference to itself.
Minimal Repro
I have created a minimal project with this issue: https://github.com/michalciolek/NullableEnum-fody-equals