int An integer hash code derived from the part of the reference that resolution uses.
Computes a hash code for this reference.
Consistent with TableEntryReference.Equals: references that compare equal produce the same hash code.
Safe to use as a dictionary key.
<para>Use an entry reference as a dictionary key.</para>
using System.Collections.Generic; using Unity.Localization;
namespace Unity.Localization.Samples { public class TableEntryReferenceHashCodeExample { public void Run(TableEntryReference entryReference) { var counts = new Dictionary<TableEntryReference, int>(); counts[entryReference] = counts.GetValueOrDefault(entryReference) + 1; } } }