Skip to content

Commit

Permalink
Performance optimization: unused code in comparison hot path
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Oct 28, 2023
1 parent 094b4d4 commit e48a306
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sdk/AssertEqualityComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ public AssertEqualityComparer(IEqualityComparer innerComparer = null)
T y)
#endif
{
var typeInfo = typeof(T).GetTypeInfo();

// Null?
if (x == null && y == null)
return true;
Expand Down

0 comments on commit e48a306

Please sign in to comment.