Implemented interface member:
method
Equals
System.IEquatable<T>.Equals(T)
76 references to Equals
dotnet-svcutil-lib (4)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (2)
801
if (Globals.TypeOfDateTimeOffset.TypeHandle.
Equals
(typeHandle))
2553
return x.Value.
Equals
(y.Value);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
501
return obj.GetType().TypeHandle.
Equals
(memberType.TypeHandle);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
271
else if (declaredTypeHandle.
Equals
(objTypeHandle))
System.Private.CoreLib (26)
Internal\IntrinsicSupport\ComparerHelpers.cs (1)
71
if (openComparerType.
Equals
(default(RuntimeTypeHandle)))
Internal\IntrinsicSupport\EqualityComparerHelpers.cs (1)
84
if (openComparerType.
Equals
(default(RuntimeTypeHandle)))
Internal\Reflection\Augments\ReflectionAugments.cs (2)
142
if (!actualDeclaringTypeHandle.
Equals
(declaringTypeHandle))
185
if (!actualDeclaringTypeHandle.
Equals
(declaringTypeHandle))
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (2)
684
return ParameterType.
Equals
(other.ParameterType)
685
&& MarshallerType.
Equals
(other.MarshallerType)
Internal\Runtime\CompilerHelpers\RuntimeInteropData.cs (2)
160
if (foundDelegateType.
Equals
(delegateTypeHandle))
192
if (foundStructType.
Equals
(structTypeHandle))
System\Reflection\Runtime\General\Helpers.cs (1)
29
return h.
Equals
(default(RuntimeTypeHandle));
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeNamedTypeInfo.UnificationKey.cs (1)
58
Debug.Assert(TypeHandle.
Equals
(other.TypeHandle));
System\Reflection\Runtime\TypeInfos\RuntimeConstructedGenericTypeInfo.UnificationKey.cs (1)
60
Debug.Assert(TypeHandle.
Equals
(other.TypeHandle));
System\Reflection\Runtime\TypeInfos\RuntimeFunctionPointerTypeInfo.UnificationKey.cs (1)
64
Debug.Assert(TypeHandle.
Equals
(other.TypeHandle));
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.UnificationKey.cs (1)
51
Debug.Assert(TypeHandle.
Equals
(other.TypeHandle));
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
59
public bool IsVoid => InternalTypeHandleIfAvailable.
Equals
(typeof(void).TypeHandle);
System\Runtime\InteropServices\TypeMapLazyDictionary.NativeAot.cs (3)
41
if (!foundTypeMapGroup.
Equals
(typeMapGroupHandle))
84
if (!foundTypeMapGroup.
Equals
(typeMapGroupHandle))
196
if (foundHandle.
Equals
(handle))
System\RuntimeFieldHandle.cs (1)
45
return thisInfo->DeclaringType.
Equals
(thatInfo->DeclaringType) && thisInfo->Handle.Equals(thatInfo->Handle);
System\RuntimeMethodHandle.cs (2)
48
if (!thisInfo->DeclaringType.
Equals
(thatInfo->DeclaringType))
59
if (!thisFirstArg[i].
Equals
(thatFirstArg[i]))
System\RuntimeTypeHandle.cs (5)
31
return
Equals
(handle);
57
return right.
Equals
((RuntimeTypeHandle)left);
64
return left.
Equals
((RuntimeTypeHandle)right);
71
return !right.
Equals
((RuntimeTypeHandle)left);
78
return !left.
Equals
((RuntimeTypeHandle)right);
System\TypedReference.cs (1)
81
if (!value._typeHandle.
Equals
(type))
System.Private.DataContractSerialization (6)
System\Runtime\Serialization\DataContract.cs (2)
582
if (Globals.TypeOfDateTimeOffset.TypeHandle.
Equals
(typeHandle))
586
if (Globals.TypeOfMemoryStream.TypeHandle.
Equals
(typeHandle))
System\Runtime\Serialization\ReflectionClassWriter.cs (2)
62
ReflectionInternalSerialize(xmlWriter, context, memberValue, memberValue.GetType().TypeHandle.
Equals
(memberType.TypeHandle), writeXsiType, memberType);
102
ReflectionInternalSerialize(xmlWriter, context, memberValue!, memberValue!.GetType().TypeHandle.
Equals
(memberType.TypeHandle), writeXsiType, memberType, originValueIsNullableOfT);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
445
return obj.GetType().TypeHandle.
Equals
(memberType.TypeHandle);
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
247
else if (declaredTypeHandle.
Equals
(objTypeHandle))
System.Private.Reflection.Execution (3)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.MappingTables.cs (1)
369
if (dstTypeDef.
Equals
(srcTypeDef))
Internal\Reflection\Execution\FieldAccessors\InstanceFieldAccessor.cs (2)
39
if (!(targetType.TypeHandle.
Equals
(this.DeclaringTypeHandle)))
72
if (!(targetType.TypeHandle.
Equals
(this.DeclaringTypeHandle)))
System.Private.TypeLoader (36)
Internal\Runtime\TypeLoader\CanonicallyEquivalentEntryLocator.cs (2)
77
return _genericDefinition.
Equals
(otherGenericDefinition) && TypeLoaderEnvironment.Instance.CanInstantiationsShareCode(_genericArgs, otherGenericArgs, CanonicalFormKind.Specific);
83
return _typeToFind.
Equals
(other);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericMethodsLookup.cs (2)
48
if (!other._declaringTypeHandle.
Equals
(_declaringTypeHandle))
67
if (!other._genericMethodArgumentHandles[i].
Equals
(_genericMethodArgumentHandles[i]))
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericTypesLookup.cs (7)
47
if (!other._genericTypeDefinitionHandle.
Equals
(_genericTypeDefinitionHandle))
57
if (!other._genericTypeArgumentHandles[i].
Equals
(_genericTypeArgumentHandles[i]))
123
if (!parsedTypeDefinitionHandle.
Equals
(_genericTypeDefinitionHandle))
132
if (!parsedArg.
Equals
(lookupArg))
141
if (!entry._genericTypeDefinitionHandle.
Equals
(_genericTypeDefinitionHandle))
155
if (!entry._genericTypeArgumentHandles[i].
Equals
(_typeToLookup.Instantiation[i].RuntimeTypeHandle))
164
if (!entry._genericTypeArgumentHandles[i].
Equals
(_genericTypeArgumentHandles[i]))
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.FieldAccess.cs (1)
86
if (!entryDeclaringTypeHandle.
Equals
(declaringTypeHandle)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.GVMResolution.cs (7)
209
if (!targetType.GetTypeDefinition().RuntimeTypeHandle.
Equals
(implementingTypeHandle)
271
while (!interfaceImplType.GetTypeDefinition().RuntimeTypeHandle.
Equals
(targetTypeHandle))
274
else if (currentIfaceType.HasInstantiation && currentIfaceType.GetTypeDefinition().RuntimeTypeHandle.
Equals
(targetTypeHandle))
289
if (instIntf.GetTypeDefinition().RuntimeTypeHandle.
Equals
(targetTypeHandle))
363
if (!openCallingTypeHandle.
Equals
(interfaceTypeHandle))
491
if (!parsedCallingTypeHandle.
Equals
(openCallingTypeHandle))
495
if (!parsedTargetTypeHandle.
Equals
(openTargetTypeHandle))
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.LdTokenResultLookup.cs (3)
49
return other._declaringType.
Equals
(_declaringType) && other._handle.Equals(_handle);
85
if (!_declaringType.
Equals
(other._declaringType) || !_handle.Equals(other._handle))
100
if (!_genericArgs[i].
Equals
(other._genericArgs[i]))
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.Metadata.cs (6)
124
if (foundType.
Equals
(runtimeTypeHandle))
227
if (foundArrayElementType.
Equals
(elementTypeHandle)
271
if (foundElementType.
Equals
(elementTypeHandle))
308
if (!RuntimeAugments.GetFunctionPointerReturnType(foundTypeHandle).
Equals
(returnTypeHandle))
315
if (!parameterHandles[i].
Equals
(RuntimeAugments.GetFunctionPointerParameterType(foundTypeHandle, i)))
371
if (foundType.
Equals
(typeHandle))
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.StaticsLookup.cs (1)
242
if (!parsedInstantiatedType.
Equals
(instantiatedType))
Internal\TypeSystem\TypeDesc.Runtime.cs (1)
37
Debug.Assert(_runtimeTypeHandle.IsNull() || runtimeTypeHandle.
Equals
(_runtimeTypeHandle));
Internal\TypeSystem\TypeSystemContext.Runtime.cs (6)
32
return value.ToEETypePtr()->RelatedParameterType->ToRuntimeTypeHandle().
Equals
(key);
38
return value1.
Equals
(value2);
88
|| !key.ReturnType.
Equals
(RuntimeAugments.GetFunctionPointerReturnType(value)))
92
if (!key.ParameterTypes[i].
Equals
(RuntimeAugments.GetFunctionPointerParameterType(value, i)))
100
return value1.
Equals
(value2);
187
if (rtth.
Equals
(CanonType.RuntimeTypeHandle))
System.Windows.Forms (1)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
316
return type.
Equals
(typeof(AccessibleObject).TypeHandle)