Skip to content

Commit 6b9ea4e

Browse files
author
Oren (electricessence)
committed
Resharper inspection fixes.
1 parent bb6925f commit 6b9ea4e

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

Extensions.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Licensing: MIT https://github.com/electricessence/Open/blob/dotnet-core/LICENSE.md
44
*/
55

6+
using Open.Numeric.Precision;
7+
using Open.Threading;
68
using System;
79
using System.Collections.Concurrent;
810
using System.Collections.Generic;
911
using System.Diagnostics;
12+
using System.Diagnostics.Contracts;
1013
using System.Linq;
1114
using System.Threading.Tasks;
12-
using Open.Threading;
13-
using Open.Numeric.Precision;
14-
using System.Diagnostics.Contracts;
1515

1616
namespace Open.Collections.Numeric
1717
{
@@ -49,7 +49,7 @@ public static void AssertEquality<TKey, TValue>(this IDictionary<TKey, TValue> t
4949
Debug.Fail("Copy has key that target doesn't.");
5050
return;
5151
}
52-
foreach (TKey key in target.Keys)
52+
foreach (var key in target.Keys)
5353
{
5454
if (!copy.ContainsKey(key))
5555
{
@@ -59,8 +59,8 @@ public static void AssertEquality<TKey, TValue>(this IDictionary<TKey, TValue> t
5959
}
6060
else
6161
{
62-
TValue a = target[key];
63-
TValue b = copy[key];
62+
var a = target[key];
63+
var b = copy[key];
6464
if (!a.IsNearEqual(b, 0.001))
6565
{
6666
Debugger.Break();

Open.Collections.Numeric.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Part of the "Open" set of libraries.</Description>
3737
</ItemGroup>
3838

3939
<ItemGroup>
40-
<PackageReference Include="Open.Collections" Version="2.2.0" />
41-
<PackageReference Include="Open.Numeric" Version="1.1.0" />
42-
<PackageReference Include="Open.Threading" Version="1.3.0" />
40+
<PackageReference Include="Open.Collections" Version="2.3.0" />
41+
<PackageReference Include="Open.Numeric" Version="1.2.0" />
42+
<PackageReference Include="Open.Threading" Version="1.4.0" />
4343
</ItemGroup>
4444

4545
</Project>

0 commit comments

Comments
 (0)