Base:
method
Equals
System.Object.Equals(System.Object)
23 references to Equals
System.Private.CoreLib (23)
System\Reflection\Runtime\BindingFlagSupport\ConstructorPolicies.cs (1)
29Debug.Assert(reflectedType.Equals(type)); // Constructor queries are always performed as if BindingFlags.DeclaredOnly are set so the reflectedType should always be the declaring type.
System\Reflection\Runtime\BindingFlagSupport\NestedTypePolicies.cs (1)
39Debug.Assert(reflectedType.Equals(type)); // NestedType queries are always performed as if BindingFlags.DeclaredOnly are set so the reflectedType should always be the declaring type.
System\Reflection\Runtime\EventInfos\NativeFormat\NativeFormatRuntimeEventInfo.cs (1)
127if (!(ContextTypeInfo.Equals(other.ContextTypeInfo)))
System\Reflection\Runtime\FieldInfos\NativeFormat\NativeFormatRuntimeFieldInfo.cs (2)
115if (!(_contextTypeInfo.Equals(other._contextTypeInfo))) 117if (!(_reflectedType.Equals(other._reflectedType)))
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (1)
260if (!(_contextTypeInfo.Equals(other._contextTypeInfo)))
System\Reflection\Runtime\MethodInfos\RuntimeConstructedGenericMethodInfo.cs (1)
67if (!_genericTypeArguments[i].Equals(other._genericTypeArguments[i]))
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (3)
218if (!(_reflectedType.Equals(other._reflectedType))) 268if (_reflectedType.Equals(_common.DefiningTypeInfo)) 289if (!_reflectedType.Equals(_common.DeclaringType))
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticConstructorInfo.cs (1)
117if (!(_declaringType.Equals(other._declaringType)))
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticMethodInfo.cs (1)
71if (!(_declaringType.Equals(other._declaringType)))
System\Reflection\Runtime\PropertyInfos\NativeFormat\NativeFormatRuntimePropertyInfo.cs (3)
107if (!(ContextTypeInfo.Equals(other.ContextTypeInfo))) 109if (!(_reflectedType.Equals(other._reflectedType))) 158bool inherited = !_reflectedType.Equals(ContextTypeInfo);
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeNamedTypeInfo.cs (1)
356return base.Equals(otherAsObject);
System\Reflection\Runtime\TypeInfos\RuntimeConstructedGenericTypeInfo.UnificationKey.cs (2)
48if (!GenericTypeDefinition.Equals(other.GenericTypeDefinition)) 54if (!(GenericTypeArguments[i].Equals(other.GenericTypeArguments[i])))
System\Reflection\Runtime\TypeInfos\RuntimeFunctionPointerTypeInfo.UnificationKey.cs (2)
52if (!ReturnType.Equals(other.ReturnType)) 58if (!(ParameterTypes[i].Equals(other.ParameterTypes[i])))
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.UnificationKey.cs (1)
46if (!ElementType.Equals(other.ElementType))
System\Reflection\Runtime\TypeInfos\RuntimeNamedTypeInfo.cs (1)
56return base.Equals(otherAsObject);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
307if (toTypeInfo.Equals(fromTypeInfo))