Skip to content

Commit 9f711a1

Browse files
authored
Change ulong to long for CLS Compliance and remove redundant default value assignments
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent ac0eeda commit 9f711a1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

HashifyNet/Algorithms/BuzHash/BuzHashConfig.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ public class BuzHashConfig
4040
: IBuzHashConfig
4141
{
4242
/// <summary>
43-
/// Gets a list of <c>256</c> (preferably random and distinct) <see cref="ulong"/> values.
43+
/// Gets a list of <c>256</c> (preferably random and distinct) <see cref="long"/> values.
4444
/// </summary>
4545
/// <value>
46-
/// List of 256 <see cref="ulong"/> values.
46+
/// List of 256 <see cref="long"/> values.
4747
/// </value>
4848
public IReadOnlyList<ulong> Rtab { get; set; } = null;
4949

@@ -65,9 +65,9 @@ public class BuzHashConfig
6565
/// The seed value.
6666
/// </value>
6767
/// <remarks>
68-
/// Defaults to <c>0UL</c>
68+
/// Defaults to <c>0</c>
6969
/// </remarks>
70-
public ulong Seed { get; set; } = 0UL;
70+
public long Seed { get; set; }
7171

7272
/// <summary>
7373
/// Gets the shift direction.
@@ -81,7 +81,7 @@ public class BuzHashConfig
8181
public CircularShiftDirection ShiftDirection { get; set; } = CircularShiftDirection.Left;
8282

8383
/// <summary>
84-
/// Makes a deep clone of current instance.
84+
/// Makes a deep clone of the current instance.
8585
/// </summary>
8686
/// <returns>A deep clone of the current instance.</returns>
8787
public IBuzHashConfig Clone() =>
@@ -94,3 +94,4 @@ public IBuzHashConfig Clone() =>
9494
};
9595
}
9696
}
97+

0 commit comments

Comments
 (0)