uint GetGenericTypeParameterReferenceInternId(ITypeReference definingTypeReference, int index) {
Contract.Requires(definingTypeReference != null);
uint definingTypeReferenceInternId = this.GetTypeReferenceInternId(GetUninstantiatedGenericType(definingTypeReference));
uint value = this.GenericTypeParameterHashtable.Find(definingTypeReferenceInternId, (uint)index);
if (value == 0) {
value = this.CurrentTypeInternValue++;
this.GenericTypeParameterHashtable.Add(definingTypeReferenceInternId, (uint)index, value);
}
return value;
}