Skip to content

Commit

Permalink
Use Ordinal comparison for extension method names
Browse files Browse the repository at this point in the history
  • Loading branch information
captainsafia committed May 29, 2024
1 parent 411d738 commit 24a6324
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public override bool Equals(object? obj)
if (obj is ThisAndExtensionMethod other)
{
return SymbolEqualityComparer.Default.Equals(ThisType, other.ThisType) &&
ExtensionMethod.Equals(other.ExtensionMethod, StringComparison.OrdinalIgnoreCase);
ExtensionMethod.Equals(other.ExtensionMethod, StringComparison.Ordinal);
}
return false;
}
Expand Down

0 comments on commit 24a6324

Please sign in to comment.