コード例 #1
0
 internal bool MethodEqualityChecks(
     FunctionPointerParameterSymbol other,
     TypeCompareKind compareKind
     ) =>
 FunctionPointerTypeSymbol.RefKindEquals(compareKind, RefKind, other.RefKind) &&
 (
     (compareKind & TypeCompareKind.IgnoreCustomModifiersAndArraySizesAndLowerBounds)
     != 0 ||
     RefCustomModifiers.SequenceEqual(other.RefCustomModifiers)
 ) &&
 TypeWithAnnotations.Equals(other.TypeWithAnnotations, compareKind);