Generator.Equals icon indicating copy to clipboard operation
Generator.Equals copied to clipboard

A source code generator for automatically implementing IEquatable<T> using only attributes.

Results 17 Generator.Equals issues
Sort by recently updated
recently updated
newest added

Currently the generator will break with any types defined in C# top-level statement.

bug
help wanted

And do something at gen-time? Not sure what you can do. README already has examples as partial obviously but they're easily missed.

documentation
good first issue

Another option from https://github.com/Fody/Equals#configurability Needed in some cases in Explicit mode to ignore comparison of base classes.

Hello, Would it be possible to also generate equality members for `struct` ?

enhancement

Another idea is to remove the runtime dependency, especially for those who don't use custom Comparers. They can be delivered explicitly (with `global::` full typepaths to avoid possible collisions). _Originally...

enhancement

Create comparer for strings: ```csharp [StringEquality(StringComparison.OrdinalIgnoreCase)] public string Name { get; set; } ```

enhancement
help wanted
good first issue

Would be great to have a wrapper class such that one can have a Comparer collect the difference between say two `record`'s or other supported type. This would also walk...

enhancement
help wanted

While experimenting with Generator.Equals, I found that if I try to customize string equality to be case insensitive for a property that is for example an array of strings, the...

enhancement