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 f0367d8 commit 5fa109fCopy full SHA for 5fa109f
src/Resolution/NamedType.cs
@@ -11,6 +11,8 @@ public struct NamedType
11
12
public static int GetHashCode(Type type, string name) => ((type?.GetHashCode() ?? 0) + 37) ^ ((name?.GetHashCode() ?? 0) + 17);
13
14
+ public static int GetHashCode(int typeHash, int nameHash) => (typeHash + 37) ^ (nameHash + 17);
15
+
16
public override bool Equals(object obj)
17
{
18
if (obj is NamedType other && Type == other.Type && Name == other.Name)
0 commit comments