We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 399a160 commit c54b2fbCopy full SHA for c54b2fb
src/Domain/HydraScript.Domain.IR/Types/CommutativeTypeEqualityComparer.cs
@@ -1,9 +1,12 @@
1
+using System.Diagnostics.CodeAnalysis;
2
+
3
namespace HydraScript.Domain.IR.Types;
4
5
public readonly ref struct CommutativeTypeEqualityComparer : IEqualityComparer<Type>
6
{
7
public bool Equals(Type? x, Type? y) =>
8
x?.Equals(y) != false || y?.Equals(x) != false;
9
10
+ [ExcludeFromCodeCoverage]
11
public int GetHashCode(Type obj) => obj.GetHashCode();
12
}
0 commit comments