Skip to content

Commit

Permalink
Use Reference Equality for SourceException
Browse files Browse the repository at this point in the history
  • Loading branch information
andreise committed Aug 10, 2023
1 parent 5b22a9e commit b615fd3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ private static StringComparer FailureMessageComparer
=>
StringComparer.Ordinal;

private static EqualityComparer<Exception> SourceExceptionComparer
private static ReferenceEqualityComparer SourceExceptionComparer
=>
EqualityComparer<Exception>.Default;
ReferenceEqualityComparer.Instance;
}

0 comments on commit b615fd3

Please sign in to comment.