internal static void Combine <TKey, TValue>(ImmutableDictionary <TKey, TValue> dictionary, ref RoslynHashCode hashCode) { foreach (var(key, value) in dictionary) { hashCode.Add(key); hashCode.Add(value); } }
internal static void Combine <T>(ImmutableStack <T> stack, ref RoslynHashCode hashCode) { foreach (var element in stack) { hashCode.Add(element); } }
internal static void Combine <T>(ImmutableHashSet <T> set, ref RoslynHashCode hashCode) { foreach (var element in set) { hashCode.Add(element); } }
internal static void Combine <T>(ImmutableArray <T> array, ref RoslynHashCode hashCode) { foreach (var element in array) { hashCode.Add(element); } }