PreventEqualsMisusage 1.6.0

dotnet add package PreventEqualsMisusage --version 1.6.0
NuGet\Install-Package PreventEqualsMisusage -Version 1.6.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PreventEqualsMisusage" Version="1.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PreventEqualsMisusage --version 1.6.0
#r "nuget: PreventEqualsMisusage, 1.6.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PreventEqualsMisusage as a Cake Addin
#addin nuget:?package=PreventEqualsMisusage&version=1.6.0

// Install PreventEqualsMisusage as a Cake Tool
#tool nuget:?package=PreventEqualsMisusage&version=1.6.0

Prevents surprises by wrong Equals usage by:
- finding Union, Contains, GroupBy, Distinct, Except, Intersect without EqualityComparer.
- finding Equals on types that do not implement IEquatable.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 1.3

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.6.0 7,081 7/15/2019
1.5.0 510 7/9/2019
1.4.0 546 7/9/2019
1.3.2 506 7/9/2019
1.3.1 519 7/9/2019
1.3.0 540 7/9/2019
1.2.0 517 7/8/2019
1.1.0 499 7/3/2019
1.0.0 492 7/3/2019

1.6
- finds Equals on ValueTypes

1.5
- finds Contains in method groups

1.4
- trial build

1.3.1, 1.3.2
- bug fix regarding HasSet

1.3.0
- ignores now Contains on string and HashSet

1.2.0
- added Contains and GroupBy