public GenericTypeInstanceKey(DefType typeDefinition, Instantiation instantiation) { _typeDefinition = typeDefinition; _instantiation = instantiation; _hashCode = instantiation.ComputeGenericInstanceHashCode(typeDefinition.GetHashCode()); }
public RuntimeMethodKey(bool unboxingStub, DefType owningType, MethodNameAndSignature nameAndSignature) { _unboxingStub = unboxingStub; _owningType = owningType; _methodNameAndSignature = nameAndSignature; _hashCode = TypeHashingAlgorithms.ComputeMethodHashCode(owningType.GetHashCode(), TypeHashingAlgorithms.ComputeNameHashCode(nameAndSignature.Name)); }
public override int GetHashCode() { return(_rawCanonType.GetHashCode()); }