示例#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);
 internal bool Equals(FunctionPointerParameterSymbol other, TypeCompareKind compareKind)
 => other.Ordinal == Ordinal &&
 _containingSymbol.Equals(other._containingSymbol, compareKind);
 internal bool Equals(FunctionPointerParameterSymbol other, TypeCompareKind compareKind, IReadOnlyDictionary <TypeParameterSymbol, bool>?isValueTypeOverride)
 => other.Ordinal == Ordinal &&
 _containingSymbol.Equals(other._containingSymbol, compareKind, isValueTypeOverride);