Skip to content

Commit

Permalink
Merge pull request #13 from pfpack/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
andreise authored May 17, 2022
2 parents 992c91f + 328714d commit 29a3e76
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/core-unit/Unit.Tests/Unit.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="PrimeFuncPack.UnitTest.Data" Version="3.0.0" />
<PackageReference Include="PrimeFuncPack.UnitTest.Moq" Version="1.0.3" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/core-unit/Unit/Unit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<Description>PrimeFuncPack Core.Unit is a core library for .NET consisting of Unit type targeted for use in functional programming.</Description>
<RootNamespace>System</RootNamespace>
<AssemblyName>PrimeFuncPack.Core.Unit</AssemblyName>
<Version>2.1.2</Version>
<Version>2.1.3-preview.1.0.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 4 additions & 2 deletions src/core-unit/Unit/Unit/Unit.Equality.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Diagnostics.CodeAnalysis;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace System;

Expand All @@ -12,5 +13,6 @@ public override bool Equals([NotNullWhen(true)] object? obj)

public override int GetHashCode()
=>
HashCode.Combine(typeof(Unit));
HashCode.Combine(
EqualityComparer<Type>.Default.GetHashCode(typeof(Unit)));
}

0 comments on commit 29a3e76

Please sign in to comment.