Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
andreise committed Dec 21, 2024
1 parent a9d18c7 commit d5fd38f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public override int GetHashCode() => HashCode.Combine(
EqualityContractHashCode(),
FailureCodeComparer.GetHashCode(FailureCode),
FailureMessageComparer.GetHashCode(FailureMessage),
SourceException is not null ? SourceExceptionComparer.GetHashCode(SourceException) : default);
SourceException is null ? default : SourceExceptionComparer.GetHashCode(SourceException));

[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static int EqualityContractHashCode()
Expand Down

0 comments on commit d5fd38f

Please sign in to comment.