Base:
method
Equals
System.Object.Equals(System.Object)
23 references to Equals
System.Private.CoreLib (23)
System\Reflection\Runtime\BindingFlagSupport\ConstructorPolicies.cs (1)
29
Debug.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)
39
Debug.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)
127
if (!(ContextTypeInfo.
Equals
(other.ContextTypeInfo)))
System\Reflection\Runtime\FieldInfos\NativeFormat\NativeFormatRuntimeFieldInfo.cs (2)
115
if (!(_contextTypeInfo.
Equals
(other._contextTypeInfo)))
117
if (!(_reflectedType.
Equals
(other._reflectedType)))
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (1)
260
if (!(_contextTypeInfo.
Equals
(other._contextTypeInfo)))
System\Reflection\Runtime\MethodInfos\RuntimeConstructedGenericMethodInfo.cs (1)
67
if (!_genericTypeArguments[i].
Equals
(other._genericTypeArguments[i]))
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (3)
218
if (!(_reflectedType.
Equals
(other._reflectedType)))
268
if (_reflectedType.
Equals
(_common.DefiningTypeInfo))
289
if (!_reflectedType.
Equals
(_common.DeclaringType))
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticConstructorInfo.cs (1)
117
if (!(_declaringType.
Equals
(other._declaringType)))
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticMethodInfo.cs (1)
71
if (!(_declaringType.
Equals
(other._declaringType)))
System\Reflection\Runtime\PropertyInfos\NativeFormat\NativeFormatRuntimePropertyInfo.cs (3)
107
if (!(ContextTypeInfo.
Equals
(other.ContextTypeInfo)))
109
if (!(_reflectedType.
Equals
(other._reflectedType)))
158
bool inherited = !_reflectedType.
Equals
(ContextTypeInfo);
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeNamedTypeInfo.cs (1)
356
return base.
Equals
(otherAsObject);
System\Reflection\Runtime\TypeInfos\RuntimeConstructedGenericTypeInfo.UnificationKey.cs (2)
48
if (!GenericTypeDefinition.
Equals
(other.GenericTypeDefinition))
54
if (!(GenericTypeArguments[i].
Equals
(other.GenericTypeArguments[i])))
System\Reflection\Runtime\TypeInfos\RuntimeFunctionPointerTypeInfo.UnificationKey.cs (2)
52
if (!ReturnType.
Equals
(other.ReturnType))
58
if (!(ParameterTypes[i].
Equals
(other.ParameterTypes[i])))
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.UnificationKey.cs (1)
46
if (!ElementType.
Equals
(other.ElementType))
System\Reflection\Runtime\TypeInfos\RuntimeNamedTypeInfo.cs (1)
56
return base.
Equals
(otherAsObject);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
307
if (toTypeInfo.
Equals
(fromTypeInfo))