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