Skip to content

Commit 9b240e5

Browse files
authored
Merge pull request #1368 from mikependon/mikependon-patch-1
Fix null reference for hashCode in GetHashCode method
2 parents 54c1141 + 309e1a9 commit 9b240e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/Providers/RepoDb.Core/RepoDb/DbField.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ public override string ToString()
161161
/// <returns>The hashcode value.</returns>
162162
public override int GetHashCode()
163163
{
164-
if (this.hashCode != null)
164+
if (hashCode != null)
165165
{
166-
return this.hashCode.Value;
166+
return hashCode.Value;
167167
}
168168

169169
// Set the hashcode

0 commit comments

Comments
 (0)