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