Loading…
Auto-generate equality members for C# types.
<PackageReference Include="Generator.Equals" PrivateAssets="all" />
<PackageReference Include="Generator.Equals.Runtime" />Generator.Equals is a C# source generator that simplifies the implementation of equality members such as `IEquatable<T>`, `Equals()`, `GetHashCode()`, and comparison operators. By using attributes, developers can automatically generate these members at compile time, avoiding the need for manual implementation and runtime reflection. This tool is particularly useful for ensuring consistent and efficient equality comparisons across C# types, especially when dealing with collections and complex objects.