PreventEqualsMisusage 1.3.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PreventEqualsMisusage --version 1.3.2
NuGet\Install-Package PreventEqualsMisusage -Version 1.3.2
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.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PreventEqualsMisusage --version 1.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PreventEqualsMisusage, 1.3.2"
#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.3.2 // Install PreventEqualsMisusage as a Cake Tool #tool nuget:?package=PreventEqualsMisusage&version=1.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.
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