12 references to TypeComparisonMode
illink (12)
Linker\MethodReferenceComparer.cs (2)
130
public static bool AreSignaturesEqual (MethodReference x, MethodReference y, ITryResolveMetadata resolver,
TypeComparisonMode
comparisonMode =
TypeComparisonMode
.Exact)
Linker\TypeReferenceEqualityComparer.cs (10)
31
public static bool AreEqual (TypeReference? a, TypeReference? b, ITryResolveMetadata resolver,
TypeComparisonMode
comparisonMode =
TypeComparisonMode
.Exact)
132
if (comparisonMode ==
TypeComparisonMode
.SignatureOnlyLoose) {
145
static bool AreEqual (GenericParameter a, GenericParameter b, ITryResolveMetadata resolver,
TypeComparisonMode
comparisonMode =
TypeComparisonMode
.Exact)
161
if (aOwnerMethod != null && comparisonMode !=
TypeComparisonMode
.SignatureOnlyLoose && MethodReferenceComparer.AreEqual (aOwnerMethod, b.Owner as MethodReference, resolver))
164
return comparisonMode ==
TypeComparisonMode
.SignatureOnly || comparisonMode ==
TypeComparisonMode
.SignatureOnlyLoose;
167
static bool AreEqual (GenericInstanceType a, GenericInstanceType b, ITryResolveMetadata resolver,
TypeComparisonMode
comparisonMode =
TypeComparisonMode
.Exact)