16 references to GetHashCodeFor
illink (16)
Linker.Dataflow\TypeProxy.cs (1)
52
public override int GetHashCode () => TypeReferenceEqualityComparer.
GetHashCodeFor
(Type);
Linker\MethodReferenceComparer.cs (2)
164
hashCode = hashCode * hashCodeMultiplier + TypeReferenceEqualityComparer.
GetHashCodeFor
(genericInstanceMethod.GenericArguments[i]);
168
return TypeReferenceEqualityComparer.
GetHashCodeFor
(obj.DeclaringType) * hashCodeMultiplier + obj.Name.GetHashCode ();
Linker\TypeReferenceEqualityComparer.cs (13)
28
return
GetHashCodeFor
(obj);
203
var hashCode =
GetHashCodeFor
(genericInstanceType.ElementType) * hashCodeMultiplier + genericInstanceTypeMultiplier;
205
hashCode = hashCode * hashCodeMultiplier +
GetHashCodeFor
(genericInstanceType.GenericArguments[i]);
211
return
GetHashCodeFor
(arrayType.ElementType) * hashCodeMultiplier + arrayType.Rank.GetHashCode ();
220
return hashCode * hashCodeMultiplier +
GetHashCodeFor
(ownerTypeReference);
231
return
GetHashCodeFor
(byReferenceType.ElementType) * hashCodeMultiplier * byReferenceMultiplier;
236
return
GetHashCodeFor
(pointerType.ElementType) * hashCodeMultiplier * pointerMultiplier;
241
var hashCode =
GetHashCodeFor
(requiredModifierType.ElementType) * requiredModifierMultiplier;
242
hashCode = hashCode * hashCodeMultiplier +
GetHashCodeFor
(requiredModifierType.ModifierType);
248
var hashCode =
GetHashCodeFor
(optionalModifierType.ElementType) * optionalModifierMultiplier;
249
hashCode = hashCode * hashCodeMultiplier +
GetHashCodeFor
(optionalModifierType.ModifierType);
255
return
GetHashCodeFor
(pinnedType.ElementType) * hashCodeMultiplier * pinnedMultiplier;
260
return
GetHashCodeFor
(sentinelType.ElementType) * hashCodeMultiplier * sentinelMultiplier;