Base:
method
GetHashCode
System.ValueType.GetHashCode()
39 references to GetHashCode
dotnet-svcutil-lib (3)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
2558return obj.Value.GetHashCode();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
128if (declaredTypeHandle.GetHashCode() == objTypeHandle.GetHashCode()) // semantically the same as Value == Value; Value is not available in SL
System.Private.CoreLib (11)
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (2)
691return ParameterType.GetHashCode() 692^ MarshallerType.GetHashCode()
Internal\Runtime\CompilerHelpers\RuntimeInteropData.cs (2)
139int delegateHashcode = delegateTypeHandle.GetHashCode(); 175int structHashcode = structTypeHandle.GetHashCode();
System\Runtime\InteropServices\TypeMapLazyDictionary.NativeAot.cs (3)
36var lookup = externalTypeMapTable.Lookup(typeMapGroupHandle.GetHashCode()); 79var lookup = externalTypeMapTable.Lookup(typeMapGroupHandle.GetHashCode()); 191var lookup = table.Lookup(handle.GetHashCode());
System\RuntimeFieldHandle.cs (1)
55int hashcode = info->DeclaringType.GetHashCode();
System\RuntimeMethodHandle.cs (2)
73int hashcode = info->DeclaringType.GetHashCode(); 77int argumentHashCode = (&info->FirstArgument)[i].GetHashCode();
System\TypedReference.cs (1)
65public override int GetHashCode() => _typeHandle.IsNull ? 0 : _typeHandle.GetHashCode();
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
109if (declaredTypeHandle.GetHashCode() == objTypeHandle.GetHashCode()) // semantically the same as Value == Value; Value is not available in SL
System.Private.TypeLoader (23)
Internal\Runtime\TypeLoader\CanonicallyEquivalentEntryLocator.cs (1)
55return _typeToFind.GetHashCode();
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericMethodsLookup.cs (1)
34_hashCode = _declaringTypeHandle.GetHashCode() ^ VersionResilientHashCode.GenericInstanceHashCode(VersionResilientHashCode.NameHashCode(_methodNameAndSignature.Name), _genericMethodArgumentHandles);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericTypesLookup.cs (2)
33_hashCode = VersionResilientHashCode.GenericInstanceHashCode(_genericTypeDefinitionHandle.GetHashCode(), _genericTypeArgumentHandles); 117return _typeToLookup != null ? _typeToLookup.GetHashCode() : VersionResilientHashCode.GenericInstanceHashCode(_genericTypeDefinitionHandle.GetHashCode(), _genericTypeArgumentHandles);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.GVMResolution.cs (3)
357var lookup = gvmHashtable.Lookup(openCallingTypeHandle.GetHashCode()); 463int hashCode = openCallingTypeHandle.GetHashCode(); 464hashCode = ((hashCode << 13) ^ hashCode) ^ openTargetTypeHandle.GetHashCode();
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.LdTokenResultLookup.cs (3)
52public override int GetHashCode() => _declaringType.GetHashCode() ^ _handle.GetHashCode(); 110? _declaringType.GetHashCode() 111: VersionResilientHashCode.GenericInstanceHashCode(_declaringType.GetHashCode(), _genericArgs);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.Metadata.cs (6)
105int hashCode = runtimeTypeHandle.GetHashCode(); 205int arrayHashcode = VersionResilientHashCode.ArrayTypeHashCode(elementTypeHandle.GetHashCode(), rank == -1 ? 1 : rank); 242int byRefHashcode = VersionResilientHashCode.ByrefTypeHashCode(elementTypeHandle.GetHashCode()); 248int pointerHashcode = VersionResilientHashCode.PointerTypeHashCode(elementTypeHandle.GetHashCode()); 286int hashCode = TypeHashingAlgorithms.ComputeMethodSignatureHashCode(returnTypeHandle.GetHashCode(), parameterHandles); 366var lookup = typeHashtable.Lookup(typeHandle.GetHashCode());
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.StaticsLookup.cs (1)
234int lookupHashcode = instantiatedType.GetHashCode();
Internal\TypeSystem\TypeDesc.Runtime.cs (1)
38Debug.Assert(runtimeTypeHandle.GetHashCode() == GetHashCode());
Internal\TypeSystem\TypeSystemContext.Runtime.cs (5)
61return key.GetHashCode(); 123return TypeHashingAlgorithms.ComputeMethodSignatureHashCode(key.ReturnType.GetHashCode(), key.ParameterTypes); 128return value.GetHashCode(); 200returnedType = new NoMetadataType(this, rtth, genericParameters.Length, varianceData, rtth.GetHashCode()); 254new NoMetadataType(this, rtth, null, Instantiation.Empty, rtth.GetHashCode());