11 references to TypeReferenceEqualityComparer
illink (11)
Linker.Dataflow\TypeProxy.cs (2)
48
public bool Equals (TypeProxy other) =>
TypeReferenceEqualityComparer
.AreEqual (Type, other.Type, resolver);
52
public override int GetHashCode () =>
TypeReferenceEqualityComparer
.GetHashCodeFor (Type);
Linker.Steps\MarkStep.cs (1)
3253
if (
TypeReferenceEqualityComparer
.AreEqual (iface.InterfaceType, interfaceToBeImplemented, Context)) {
Linker\MethodReferenceComparer.cs (7)
68
if (!
TypeReferenceEqualityComparer
.AreEqual (x.DeclaringType, y.DeclaringType, resolver))
81
if (!
TypeReferenceEqualityComparer
.AreEqual (xGeneric.GenericArguments[i], yGeneric.GenericArguments[i], resolver))
115
if (!
TypeReferenceEqualityComparer
.AreEqual (x.Parameters[i].ParameterType, y.Parameters[i].ParameterType, resolver))
145
if (!
TypeReferenceEqualityComparer
.AreEqual (x.Parameters[i].ParameterType, y.Parameters[i].ParameterType, resolver, comparisonMode))
149
if (!
TypeReferenceEqualityComparer
.AreEqual (x.ReturnType, y.ReturnType, resolver, comparisonMode))
164
hashCode = hashCode * hashCodeMultiplier +
TypeReferenceEqualityComparer
.GetHashCodeFor (genericInstanceMethod.GenericArguments[i]);
168
return
TypeReferenceEqualityComparer
.GetHashCodeFor (obj.DeclaringType) * hashCodeMultiplier + obj.Name.GetHashCode ();
Linker\TypeMapInfo.cs (1)
159
if (!firstImplementationChain.Any (i =>
TypeReferenceEqualityComparer
.AreEqual (i.Item1, interfaceType, Context))) {