Base:
73 references to GetHashCode
ILCompiler.Compiler (43)
Compiler\Compilation.cs (2)
571
return key.
GetHashCode
();
575
return value.Method.
GetHashCode
();
Compiler\CompilerTypeSystemContext.InterfaceThunks.cs (2)
121
return key.TargetMethod.
GetHashCode
() ^ key.InterfaceIndex;
125
return value.TargetMethod.
GetHashCode
() ^ value.InterfaceIndex;
Compiler\Dataflow\InterproceduralState.cs (1)
28
public override int GetHashCode() => MethodBody.OwningMethod.
GetHashCode
();
Compiler\DelegateCreationInfo.cs (1)
332
return Constructor.GetHashCode() ^ _targetMethod.
GetHashCode
();
Compiler\DependencyAnalysis\GenericDictionaryNode.cs (1)
259
builder.EmitInt(_owningMethod.
GetHashCode
());
Compiler\DependencyAnalysis\GenericLookupResult.cs (5)
479
return _method.
GetHashCode
();
599
return _method.
GetHashCode
();
682
return _method.
GetHashCode
();
763
return _method.
GetHashCode
();
1177
return _constrainedMethod.
GetHashCode
() * 13 + _constraintType.GetHashCode();
Compiler\DependencyAnalysis\GenericMethodsHashtableNode.cs (1)
88
hashtable.Append((uint)method.
GetHashCode
(), nativeSection.Place(entry));
Compiler\DependencyAnalysis\GenericMethodsTemplateMap.cs (1)
66
uint hashCode = (uint)methodEntryNode.Method.
GetHashCode
();
Compiler\DependencyAnalysis\NodeFactory.cs (11)
1104
protected override int GetKeyHashCode(MethodDesc key) => key.
GetHashCode
();
1105
protected override int GetValueHashCode(IMethodNode value) => value.Method.
GetHashCode
();
1310
protected override int GetKeyHashCode(MethodDesc key) => key.
GetHashCode
();
1311
protected override int GetValueHashCode(ShadowConcreteMethodNode value) => value.Method.
GetHashCode
();
1328
protected override int GetKeyHashCode(MethodDesc key) => key.
GetHashCode
();
1329
protected override int GetValueHashCode(ShadowNonConcreteMethodNode value) => value.Method.
GetHashCode
();
1402
protected override int GetKeyHashCode(MethodDesc key) => key.
GetHashCode
();
1403
protected override int GetValueHashCode(VirtualMethodUseNode value) => value.Method.
GetHashCode
();
1735
public override int GetHashCode() => Method.
GetHashCode
();
1799
int hashCode = Target.
GetHashCode
();
1853
public override int GetHashCode() => MethodIL.OwningMethod.
GetHashCode
();
Compiler\DependencyAnalysis\NodeFactory.GenericLookups.cs (1)
234
return ConstraintType.GetHashCode() ^ ConstrainedMethod.
GetHashCode
() ^ DirectCall.GetHashCode();
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (1)
439
int hashCode = Method.
GetHashCode
() ^ (Unboxing ? 1 : 0);
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (6)
232
protected override int GetKeyHashCode(EcmaMethod key) => key.
GetHashCode
();
233
protected override int GetValueHashCode(AsyncMethodVariant value) => value.Target.
GetHashCode
();
264
protected override int GetKeyHashCode(AsyncMethodVariant key) => key.
GetHashCode
();
265
protected override int GetValueHashCode(ReturnDroppingAsyncThunk value) => value.AsyncVariantTarget.
GetHashCode
();
296
=> TargetMethod.
GetHashCode
();
302
protected override int GetValueHashCode(AsyncResumptionStub value) => value.TargetMethod.
GetHashCode
();
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (4)
174
return key.TargetMethod.
GetHashCode
();
178
return value.TargetMethod.
GetHashCode
();
201
return key.TargetMethod.
GetHashCode
();
205
return value.TargetMethod.
GetHashCode
();
parent\parent\Common\Compiler\Dataflow\MethodProxy.cs (1)
83
public override int GetHashCode() => Method.
GetHashCode
();
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
44
protected override int ComputeHashCode() => _targetMethod.
GetHashCode
();
parent\parent\Common\TypeSystem\IL\Stubs\MethodBaseGetCurrentMethodThunk.cs (2)
114
return key.
GetHashCode
();
118
return value.Method.
GetHashCode
();
parent\parent\Common\TypeSystem\Interop\InteropStateManager.cs (2)
461
return key.Method.
GetHashCode
();
466
return value.TargetMethod.
GetHashCode
();
ILCompiler.ReadyToRun (23)
Compiler\DependencyAnalysis\ReadyToRun\InliningInfoNode.cs (1)
152
hashCode = inlinee.
GetHashCode
();
Compiler\DependencyAnalysis\ReadyToRun\InstanceEntryPointTableNode.cs (1)
148
vertexHashtable.Append(unchecked((uint)hashtableKeyMethod.
GetHashCode
()), entryPointVertex);
Compiler\DependencyAnalysis\ReadyToRun\InstrumentationDataTableNode.cs (1)
288
vertexHashtable.Append(unchecked((uint)method.
GetHashCode
()), pgoDataVertex);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (1)
562
return (CallingMethod != null ? unchecked(199 * CallingMethod.
GetHashCode
()) : 0)
Compiler\ProfileDataManager.cs (1)
178
Random rand = new Random(method.
GetHashCode
());
Compiler\ReadyToRunCodegenCompilation.cs (2)
198
return key.
GetHashCode
();
202
return value.Method.
GetHashCode
();
Compiler\RuntimeDeterminedTypeHelper.cs (1)
192
method.GetTypicalMethodDefinition().
GetHashCode
() + 31 * GetHashCode(method.Instantiation)));
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
337
return Method.
GetHashCode
() ^ unchecked(17 * Token.GetHashCode()) ^ unchecked(39 * (ConstrainedType?.GetHashCode() ?? 0));
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (6)
232
protected override int GetKeyHashCode(EcmaMethod key) => key.
GetHashCode
();
233
protected override int GetValueHashCode(AsyncMethodVariant value) => value.Target.
GetHashCode
();
264
protected override int GetKeyHashCode(AsyncMethodVariant key) => key.
GetHashCode
();
265
protected override int GetValueHashCode(ReturnDroppingAsyncThunk value) => value.AsyncVariantTarget.
GetHashCode
();
296
=> TargetMethod.
GetHashCode
();
302
protected override int GetValueHashCode(AsyncResumptionStub value) => value.TargetMethod.
GetHashCode
();
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (4)
174
return key.TargetMethod.
GetHashCode
();
178
return value.TargetMethod.
GetHashCode
();
201
return key.TargetMethod.
GetHashCode
();
205
return value.TargetMethod.
GetHashCode
();
parent\parent\Common\Compiler\Dataflow\MethodProxy.cs (1)
83
public override int GetHashCode() => Method.
GetHashCode
();
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
3988
return (uint)HandleToObject(ftn).
GetHashCode
();
parent\parent\Common\JitInterface\UnboxingMethodDesc.cs (1)
28
_jitVisibleHashCode = HashCode.Combine(wrappedMethod.
GetHashCode
(), 401752602);
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
44
protected override int ComputeHashCode() => _targetMethod.
GetHashCode
();
ILCompiler.RyuJit (2)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
3988
return (uint)HandleToObject(ftn).
GetHashCode
();
parent\parent\Common\JitInterface\UnboxingMethodDesc.cs (1)
28
_jitVisibleHashCode = HashCode.Combine(wrappedMethod.
GetHashCode
(), 401752602);
ILCompiler.TypeSystem (5)
parent\parent\Common\TypeSystem\Common\MetadataVirtualMethodAlgorithm.cs (2)
18
return key.
GetHashCode
();
23
return value.
GetHashCode
();
parent\parent\Common\TypeSystem\Common\TypeSystemContext.cs (2)
391
return value.
GetHashCode
();
490
return value.
GetHashCode
();
parent\parent\Common\TypeSystem\RuntimeDetermined\TypeSystemContext.RuntimeDetermined.cs (1)
108
return value.
GetHashCode
();